mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Use pam_lastlog(8)'s new no_fail option.
Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
89136eab16
commit
a87cdc1598
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96193
@ -25,7 +25,7 @@ account required pam_unix.so
|
||||
#session required pam_kerberosIV.so
|
||||
#session required pam_krb5.so
|
||||
#session required pam_ssh.so
|
||||
session required pam_lastlog.so
|
||||
session required pam_lastlog.so no_fail
|
||||
|
||||
# password
|
||||
#password sufficient pam_kerberosIV.so no_warn try_first_pass
|
||||
|
@ -14,7 +14,7 @@ auth required pam_unix.so no_warn try_first_pass
|
||||
account required pam_unix.so
|
||||
|
||||
# session
|
||||
session required pam_lastlog.so no_warn
|
||||
session required pam_lastlog.so no_warn no_fail
|
||||
|
||||
# password
|
||||
password required pam_deny.so
|
||||
|
@ -13,7 +13,7 @@ account required pam_login_access.so
|
||||
account required pam_unix.so
|
||||
|
||||
# session
|
||||
session required pam_lastlog.so
|
||||
session required pam_lastlog.so no_fail
|
||||
|
||||
# password
|
||||
password required pam_permit.so
|
||||
|
Loading…
Reference in New Issue
Block a user