[Bug 87] Last logon that gets reported upon login is the current login time

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Dec 20 01:21:01 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=87

Yann Rouillard <yann at pleiades.fr.eu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann at pleiades.fr.eu.org
             Status|CLOSED                      |REOPENED
         Resolution|FIXED                       |

--- Comment #9 from Yann Rouillard <yann at pleiades.fr.eu.org> 2010-12-20 01:21:01 EST ---
I am reopening this bug because I am still able to reproduce it on
Solaris 10 with openssh 5.6p1.

It seems to be caused by the same reason: do_pam_session updates the
/var/adm/lastlog before record_login / store_lastlog_message is called.

I don't understand why the fix doesn't work but do_exec_pty doesn't
seem to be called before do_pam_session.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the openssh-bugs mailing list