When using the last command on a sun box I have noticed several strange things. When I am logged on remotely to the server when I run a command as such
last userid | head -3
If the user is still logged on I get some data as such
USER ID Terminal Destination Day Date Still Logged On
When I logon to the system internally I get something a little bit different when running the command
last userid | head -3
UserID Terminal Destination Day Date 07:35 07:59
So with being logged on internally it shows me the present time rather than whether or not I am logged on.
last userid | head -3
If the user is still logged on I get some data as such
USER ID Terminal Destination Day Date Still Logged On
When I logon to the system internally I get something a little bit different when running the command
last userid | head -3
UserID Terminal Destination Day Date 07:35 07:59
So with being logged on internally it shows me the present time rather than whether or not I am logged on.