Finding out login history

Ronald Fischer fischerr.external@infineon.com
Mon Jan 19 12:12:00 GMT 2009


Is it possible to find out the login history, i.e. the exact time on the
previous days a user has logged on, respectively the system has been rebooted
(though these times are not the same, in my case I would be happy getting either
one)?

I know that from the data displayed by 'uptime', I can calculate the 
time since when the PC is running now, but I would also find the time of
the previous system startups or user logins.

Maybe this is recorded in /var/run/utmp (at least uptime gets is information
from there), but I don't know whether this records the history, and it is a
binary file anyway.

Ronald



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list