diff options
author | des <des@FreeBSD.org> | 2002-05-08 00:33:02 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-05-08 00:33:02 +0000 |
commit | 0be56e68fc63b424ce20908f5f9536afba904f00 (patch) | |
tree | 1d626910d4a17ccac40ee960d4bacb033ce9946f /etc/pam.d | |
parent | 8bc66e6368e1363d4b9e9dd133da4c58181c002a (diff) | |
download | FreeBSD-src-0be56e68fc63b424ce20908f5f9536afba904f00.zip FreeBSD-src-0be56e68fc63b424ce20908f5f9536afba904f00.tar.gz |
Use pam_lastlog(8)'s new no_fail option.
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'etc/pam.d')
-rw-r--r-- | etc/pam.d/login | 2 | ||||
-rw-r--r-- | etc/pam.d/other | 2 | ||||
-rw-r--r-- | etc/pam.d/sshd | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/etc/pam.d/login b/etc/pam.d/login index 0b5dbb0..997879d 100644 --- a/etc/pam.d/login +++ b/etc/pam.d/login @@ -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 diff --git a/etc/pam.d/other b/etc/pam.d/other index a5a2e93..81e0055 100644 --- a/etc/pam.d/other +++ b/etc/pam.d/other @@ -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 diff --git a/etc/pam.d/sshd b/etc/pam.d/sshd index acac317..873ebc4 100644 --- a/etc/pam.d/sshd +++ b/etc/pam.d/sshd @@ -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 |