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.
This commit is contained in:
2
test-services/succeed-if-user-test
Normal file
2
test-services/succeed-if-user-test
Normal file
@@ -0,0 +1,2 @@
|
||||
# Custom stack to deny permit, independent of the user name/pass
|
||||
auth requisite pam_succeed_if.so user = testuser
|
||||
Reference in New Issue
Block a user