[bug-notifications] [openssh 0004494]: sshd shows wrong "last login" date/time

Mantis Bug Tracker noreply at opencsw.org
Thu Feb 3 22:58:22 CET 2011


A NOTE has been added to this issue. 
====================================================================== 
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:              2011-02-03 22:58 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
====================================================================== 

---------------------------------------------------------------------- 
 (0008777) yann (manager) - 2011-02-03 22:58
 https://www.opencsw.org/mantis/view.php?id=4494#c8777 
---------------------------------------------------------------------- 
I just tried to reproduce your problem but I don't have the same
behaviour:

 - on Redhat and Debian, wtmp and lastlog are not updated when doing non
interactive login with public key

 - on Solaris with SUN SSH, only wtmpx and lastlog are updated.


After having a look at the openssh bugtracker, it seems to be considered
normal behaviour by OpenSSH maintainers:
https://bugzilla.mindrot.org/show_bug.cgi?id=337


I didn't find enough information about wtmp(x), utmp(x) and lastlog to
know exactly if they should be updated with non-interactive login. 

Do you have some clue about this ?



More information about the bug-notifications mailing list