December 18th, 2006, 13:58 PM
best way to determine when an account was last used.
What is the best way to determine when an account was last used?
I'm running Ferdora Core 5
March 3rd, 2007, 03:48 AM
Succeded in braking Windo
Sorry for the long delay. IF you still have the log, then reading in the /var/log/messages. Use grep to reduce the number of lines to read, for example "cat /var/log/messages | grep user" Or if you are looking for a specific user replace user for the username.
Gnome also has a event log viewer that has a search utility. And probably there are other ways as well.
Drawback of the messages file is that it can be quite large to read it line by line