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