"last" not showing recent login activity

Matthias Petermann matthias at d2ux.net
Mon Dec 17 19:02:41 UTC 2012


on one of my systems I just found out that "last" only shows some old  
login / logout activity, but not the recent actvities.

The strange thing... everytime I log into the system, /var/log/utx.log  
gets update to the current timestamp (and also grows by some bytes).

But "last" only shows very old data...

srv# last -f utx.log -d 20121218
matthias   pts/3                           Mon Dec  3 23:32   still logged in
matthias   pts/2                           Mon Dec  3 23:31   still logged in

Is there any reason why I can't see the recent logins there? Which  
component does write data to utx.log - is this done via syslog or a  
lower level mechanism?


More information about the freebsd-questions mailing list