2010-02-17 05:40:55 +01:00
|
|
|
# login pam service with sha512 passwords and cracklib support.
|
2009-04-21 17:55:02 +02:00
|
|
|
auth requisite pam_nologin.so
|
|
|
|
auth required pam_securetty.so
|
|
|
|
auth required pam_unix.so
|
2011-10-11 06:47:05 +02:00
|
|
|
|
2009-04-21 17:55:02 +02:00
|
|
|
account required pam_access.so
|
|
|
|
account required pam_unix.so
|
2011-10-11 06:47:05 +02:00
|
|
|
|
2009-04-21 17:55:02 +02: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 06:47:05 +02:00
|
|
|
session required pam_loginuid.so
|
|
|
|
session required pam_systemd.so kill-session-processes=1
|
2011-10-23 11:36:02 +02:00
|
|
|
session required pam_limits.so
|
2011-10-11 06:47:05 +02:00
|
|
|
|
2009-04-21 17:55:02 +02:00
|
|
|
password required pam_cracklib.so try_first_pass retry=3
|
|
|
|
password required pam_unix.so sha512 shadow nullok try_first_pass use_authtok
|