summaryrefslogtreecommitdiffstats
path: root/xtests/tst-pam_pwhistory1.pamd
diff options
context:
space:
mode:
Diffstat (limited to 'xtests/tst-pam_pwhistory1.pamd')
-rw-r--r--xtests/tst-pam_pwhistory1.pamd6
1 files changed, 6 insertions, 0 deletions
diff --git a/xtests/tst-pam_pwhistory1.pamd b/xtests/tst-pam_pwhistory1.pamd
new file mode 100644
index 0000000..d60db7c
--- /dev/null
+++ b/xtests/tst-pam_pwhistory1.pamd
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth required pam_permit.so
+account required pam_permit.so
+password required pam_pwhistory.so remember=10 retry=1 enforce_for_root
+password required pam_unix.so use_authtok md5
+session required pam_permit.so