summaryrefslogtreecommitdiff
path: root/Linux-PAM/xtests/tst-pam_authfail.pamd
diff options
context:
space:
mode:
Diffstat (limited to 'Linux-PAM/xtests/tst-pam_authfail.pamd')
-rw-r--r--Linux-PAM/xtests/tst-pam_authfail.pamd5
1 files changed, 5 insertions, 0 deletions
diff --git a/Linux-PAM/xtests/tst-pam_authfail.pamd b/Linux-PAM/xtests/tst-pam_authfail.pamd
new file mode 100644
index 00000000..8ff1a40f
--- /dev/null
+++ b/Linux-PAM/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