[SunHELP] last command not working (topo's corrected)

Lund, Dennis Dennis.Lund at sciatl.com
Thu Oct 28 23:48:54 CDT 2004

We have and issue were the "last" command is NOT displaying accurate data.
The command only displays login data from May 2004.

The wtmpx file is updating when a user logs into the server, but logins from
May 31st and earlier are the only logins displayed.


wallacc   pts/14       xxx.xxx.xxx.xxx    Mon May 31 15:20 - 15:29  (00:08)
perryc    pts/14       xxx.xxx.xxx.xxx    Mon May 31 11:37 - 11:43  (00:06)
perryc    pts/14       xxx.xxx.xxx.xxx    Mon May 31 08:58 - 10:57  (01:58) 

I have run a few tests on another system:

1. cat /dev/null wtmpx (last still works showing login data)
2. cat /dev/null utmpx (last still works)
3. cat /dev/null lastlog (last still works)

The server has been rebooted.  I thought we might fix it by nulling all 3
files, but not sure if it would correct the issue.

Any ideas as to how we fix this? 

Thank you
Dennis Lund
dennis.lund at sciatl.com

     - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.

More information about the SunHELP mailing list