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.
/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
Edit: Output of
ls -al /var/log/lastlog:
-rw-rw-r-- 1 root utmp 292584 2010-05-12 18:14 /var/log/lastlog