summaryrefslogtreecommitdiff
path: root/testing/shadow/login
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-27 23:06:15 +0000
committerroot <root@rshg047.dnsready.net>2011-06-27 23:06:15 +0000
commit0a595245dd258cc0ad9a5de2b292cf1b1a94f51a (patch)
tree2cbc26bebf7171db78c67303e24ad6e80279f2d8 /testing/shadow/login
parent715631caf52784c47c8ed3aeb6cbdba2715a08db (diff)
Mon Jun 27 23:06:14 UTC 2011
Diffstat (limited to 'testing/shadow/login')
-rw-r--r--testing/shadow/login20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/shadow/login b/testing/shadow/login
new file mode 100644
index 000000000..51ff96a4a
--- /dev/null
+++ b/testing/shadow/login
@@ -0,0 +1,20 @@
+#%PAM-1.0
+auth required pam_securetty.so
+auth requisite pam_nologin.so
+auth required pam_unix.so nullok
+auth required pam_tally.so onerr=succeed file=/var/log/faillog
+# use this to lockout accounts for 10 minutes after 3 failed attempts
+#auth required pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
+account required pam_access.so
+account required pam_time.so
+account required pam_unix.so
+#password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
+#password required pam_unix.so md5 shadow use_authtok
+session required pam_unix.so
+session required pam_env.so
+session required pam_motd.so
+session required pam_limits.so
+session optional pam_mail.so dir=/var/spool/mail standard
+session optional pam_lastlog.so
+session optional pam_loginuid.so
+-session optional pam_ck_connector.so nox11