public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Finding out login history
@ 2009-01-19 12:12 Ronald Fischer
  2009-01-19 12:26 ` Morche Matthias
  2017-10-25 10:53 ` anand
  0 siblings, 2 replies; 17+ messages in thread
From: Ronald Fischer @ 2009-01-19 12:12 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-10-25 10:53 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-19 12:12 Finding out login history Ronald Fischer
2009-01-19 12:26 ` Morche Matthias
2009-01-19 14:37   ` Ronald Fischer
2009-01-19 14:40     ` Andy Koppe
2009-01-19 15:21       ` Ronald Fischer
2009-01-19 15:51         ` Dave Korn
2009-01-19 15:44       ` Ronald Fischer
2009-01-19 15:45         ` Andy Koppe
2009-01-19 15:47           ` Thrall, Bryan
2009-01-19 15:47             ` Dave Korn
2009-01-19 15:57               ` Dave Korn
2009-01-19 16:05               ` Thrall, Bryan
2009-01-19 16:03             ` Marco Atzeri
2009-01-27 13:41               ` Ronald Fischer
2009-01-27 13:45                 ` Marco Atzeri
2009-01-29 11:14                   ` Ronald Fischer
2017-10-25 10:53 ` anand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).