Running the lastlog command correctly lists all users on my system (same as /etc/passwd entries). However all are marked as **Never logged in**, including the account I'm currently logged in to. I noticed that my /var/log/lastlog file is also empty.
Edit: /var/log/lastlog is not empty, it is a binary file and I was trying to cat it, causing nothing to display. less displays a binary file.
Does anyone have any insight as to why this would happen? I've never manually edited /var/log/lastlog.
Edit: Output of ls -al /var/log/lastlog:
-rw-rw-r-- 1 root utmp 292584 2010-05-12 18:14 /var/log/lastlog
dflists 61% free on that filesystem – goric Jan 21 '11 at 00:16catit. But all of the accounts do list Never logged in.lastlog | grep -v Neverproduces an empty output. – goric Jan 21 '11 at 01:24