OpenSSH 3.7.1p2 AIX loginsuccess() issue

James O'Connor jpoc at us.ibm.com
Tue Sep 30 05:39:31 EST 2003


On AIX 4.3.3 and AIX 5.1, the last successful and unsuccessful logins are 
no longer printer prior to the motd with either the stock openssh-3.7.1p2 
or Darren's openssh-3.7.1p2-pwexp24.patch.  In both cases it appears that 
the loginsuccess() call (auth-passwd.c stock or auth.c Darren's patch) is 
returning -1 and msg is not appended to loginmsg.  /etc/security/lastlog 
is updated despite the negative return code from loginsuccess().  I am not 
using privilege separation.  The last successful and unsuccessful logins 
are printed using openssh-3.6.1p2.

James O'Connor
IBM Global Services
jpoc at us.ibm.com




More information about the openssh-unix-dev mailing list