How to show last login to user at login time
Posted on 2005-04-18
As an audit point, I need to display the last time a user logged into a system each time that they login. The servers in question run RHEL 3
According to the man page for login, if the file .hushlogin exists, then a "quiet" login is performed (this disables the checking of mail and the printing of the last login time). I've double checked, and no file named .hushlogin exists.
I have tried uncommenting PrintLastLog yes in my sshd_config, but this has not solved the problem.