summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/pam_mount/files/system-auth')
-rw-r--r--sys-auth/pam_mount/files/system-auth23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-auth/pam_mount/files/system-auth b/sys-auth/pam_mount/files/system-auth
new file mode 100644
index 000000000..83767b905
--- /dev/null
+++ b/sys-auth/pam_mount/files/system-auth
@@ -0,0 +1,23 @@
+#%PAM-1.0
+
+
+auth required pam_env.so
+auth optional /@get_libdir/security/pam_mount.so service=system-auth
+auth sufficient pam_unix.so likeauth nullok use_first_pass
+auth required pam_deny.so
+
+# Added for pam_mount support
+auth required /@get_libdir/security/pam_stack.so service=system-auth
+auth required pam_tally.so file=/var/log/faillog onerr=succeed no_magic_root
+auth required pam_shells.so
+auth required pam_nologin.so
+
+account required pam_unix.so
+
+password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
+password sufficient pam_unix.so nullok md5 shadow use_authtok
+password required pam_deny.so
+
+session required pam_limits.so
+session required pam_unix.so
+session optional /@get_libdir/security/pam_mount.so use_first_pass service=system-auth