... otherwise the file isn't created; we also start it just for the session and in 'silent' mode because login(1) from util-linux already prints the last logged time.
21 lines
718 B
Text
21 lines
718 B
Text
#%PAM-1.0
|
|
|
|
auth required pam_tally.so onerr=succeed file=/var/log/faillog
|
|
auth required pam_shells.so
|
|
auth requisite pam_nologin.so
|
|
auth include system-auth
|
|
|
|
account required pam_access.so
|
|
account required pam_nologin.so
|
|
account include system-auth
|
|
|
|
password include system-auth
|
|
|
|
session optional pam_loginuid.so
|
|
session include system-auth
|
|
session optional pam_motd.so motd=/etc/motd
|
|
session optional pam_mail.so dir=/var/spool/mail standard quiet
|
|
-session optional pam_systemd.so
|
|
-session optional pam_ck_connector.so nox11
|
|
session required pam_env.so
|
|
session required pam_lastlog.so silent
|