summaryrefslogtreecommitdiffstats
path: root/etc/pam.d/sshd
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-12-03 15:48:11 +0000
committerdes <des@FreeBSD.org>2002-12-03 15:48:11 +0000
commit81fe1696308c5629262bfd7c5ed69a6d7c0343d8 (patch)
treea51f0b1ab58f25a1c940d9345087b76878528d05 /etc/pam.d/sshd
parent372cfdca8c712528f4735bb4adff06c105ad260b (diff)
downloadFreeBSD-src-81fe1696308c5629262bfd7c5ed69a6d7c0343d8.zip
FreeBSD-src-81fe1696308c5629262bfd7c5ed69a6d7c0343d8.tar.gz
Since OpenSSH drops privileges before calling pam_open_session(3),
pam_lastlog(8) can't possibly work, so let OpenSSH handle lastlog. Approved by: re (rwatson)
Diffstat (limited to 'etc/pam.d/sshd')
-rw-r--r--etc/pam.d/sshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/pam.d/sshd b/etc/pam.d/sshd
index 410e95d..4461a6e 100644
--- a/etc/pam.d/sshd
+++ b/etc/pam.d/sshd
@@ -15,7 +15,7 @@ account required pam_login_access.so
account required pam_unix.so
# session
-session required pam_lastlog.so no_warn no_fail
+session required pam_permit.so
# password
password required pam_permit.so
OpenPOWER on IntegriCloud