summaryrefslogtreecommitdiffstats
path: root/xtests/tst-pam_authsucceed.pamd
diff options
context:
space:
mode:
Diffstat (limited to 'xtests/tst-pam_authsucceed.pamd')
-rw-r--r--xtests/tst-pam_authsucceed.pamd5
1 files changed, 5 insertions, 0 deletions
diff --git a/xtests/tst-pam_authsucceed.pamd b/xtests/tst-pam_authsucceed.pamd
new file mode 100644
index 0000000..abaa1ef
--- /dev/null
+++ b/xtests/tst-pam_authsucceed.pamd
@@ -0,0 +1,5 @@
+#%PAM-1.0
+# test that failed sufficient module cannot affect stack
+# with following successful required module
+auth sufficient pam_debug.so auth=auth_err
+auth required pam_debug.so auth=success