From: Ronald Fischer <fischerr.external@infineon.com>
To: cygwin@cygwin.com
Subject: Finding out login history
Date: Mon, 19 Jan 2009 12:12:00 -0000 [thread overview]
Message-ID: <loom.20090119T080209-788@post.gmane.org> (raw)
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/
next reply other threads:[~2009-01-19 8:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 12:12 Ronald Fischer [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20090119T080209-788@post.gmane.org \
--to=fischerr.external@infineon.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).