2010-02-17 04:40:55 +00:00
|
|
|
# login pam service with sha512 passwords and cracklib support.
|
2009-04-21 15:55:02 +00:00
|
|
|
auth requisite pam_nologin.so
|
|
|
|
auth required pam_securetty.so
|
|
|
|
auth required pam_unix.so
|
2011-10-11 04:47:05 +00:00
|
|
|
|
2009-04-21 15:55:02 +00:00
|
|
|
account required pam_access.so
|
|
|
|
account required pam_unix.so
|
2011-10-11 04:47:05 +00:00
|
|
|
|
2009-04-21 15:55:02 +00:00
|
|
|
session required pam_env.so
|
|
|
|
session required pam_motd.so
|
|
|
|
session optional pam_mail.so dir=/var/mail standard
|
|
|
|
session optional pam_lastlog.so
|
|
|
|
session required pam_unix.so
|
2011-10-11 04:47:05 +00:00
|
|
|
session required pam_loginuid.so
|
|
|
|
session required pam_systemd.so kill-session-processes=1
|
2011-10-23 09:36:02 +00:00
|
|
|
session required pam_limits.so
|
2011-10-11 04:47:05 +00:00
|
|
|
|
2009-04-21 15:55:02 +00:00
|
|
|
password required pam_cracklib.so try_first_pass retry=3
|
|
|
|
password required pam_unix.so sha512 shadow nullok try_first_pass use_authtok
|