Files
msteinert-go-pam/test-services/succeed-if-user-test
Marco Trevisan (Treviño) a22a1abf3f transaction_test: Add root-less tests to check pam conversation
Use pam_succeed_if to make it implicitly ask for the user name and
verify that the provided one is correct.

This can safely run as user.
2023-09-19 18:46:25 +02:00

3 lines
116 B
Plaintext

# Custom stack to deny permit, independent of the user name/pass
auth requisite pam_succeed_if.so user = testuser