[bug-notifications] [openssh 0004494]: sshd shows wrong "last login" date/time
Mantis Bug Tracker
noreply at opencsw.org
Mon Dec 20 21:48:32 CET 2010
The following issue requires your FEEDBACK.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4494
======================================================================
Reported By: helmped
Assigned To: yann
======================================================================
Project: openssh
Issue ID: 4494
Category: regular use
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
======================================================================
Date Submitted: 2010-07-20 15:45 CEST
Last Modified: 2010-12-20 21:48 CET
======================================================================
Summary: sshd shows wrong "last login" date/time
Description:
Login in on any host (SPARC/x86, latest CSWossh installed) via ssh shows
not the last session login date/time. Instead the actual login date/time is
displayed.
Using SUNs sshd the login date/time information is correct.
Regards
Helmut
======================================================================
----------------------------------------------------------------------
(0008614) yann (manager) - 2010-12-20 21:48
https://www.opencsw.org/mantis/view.php?id=4494#c8614
----------------------------------------------------------------------
Hi,
This problem seems to be caused by pam which updates the /var/adm/lastlog
file before ssh reads the information.
I (re-)opened a bug upstream about this problem:
https://bugzilla.mindrot.org/show_bug.cgi?id=87
Meanwhile I applied a workaround to temporarily solve this bug in the
opencsw package: openssh doesn't read or update anymore the
/var/adm/lastlog file (but still update wtmp).
This means /var/adm/lastlog could not be updated in some non standard pam
configuration.
Could you try latest openssh packages in my experimental repository [1] to
test if this fix work for you ?
Thanks in advance,
Yann
[1] http://buildfarm.opencsw.org/experimental.html#yann
More information about the bug-notifications
mailing list