Stuff I keep Forgetting How to Do

Wednesday, October 22, 2008

When Did I Start Work Today (linux)

When working in Windows (XP at least) it's an easy matter to jump to the event viewer security log to see when you first authenticated this morning. Here's a handy way to get the same information from Linux. Just replace the [your.user.name.here] with the name with which you authenticate.
su -
grep pam.*[your.user.name.here] /var/log/messages
Posted by James Wilson at 3:34 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

My photo
James Wilson
View my complete profile

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments

Blog Archive

  • ►  2021 (2)
    • ►  May (1)
    • ►  January (1)
  • ►  2020 (1)
    • ►  June (1)
  • ►  2017 (1)
    • ►  February (1)
  • ►  2016 (2)
    • ►  September (1)
    • ►  August (1)
  • ►  2014 (2)
    • ►  December (1)
    • ►  March (1)
  • ►  2013 (1)
    • ►  February (1)
  • ►  2012 (2)
    • ►  October (1)
    • ►  September (1)
  • ►  2011 (4)
    • ►  October (1)
    • ►  June (1)
    • ►  May (1)
    • ►  January (1)
  • ►  2010 (4)
    • ►  August (1)
    • ►  July (1)
    • ►  April (1)
    • ►  January (1)
  • ►  2009 (13)
    • ►  October (1)
    • ►  September (2)
    • ►  August (4)
    • ►  May (1)
    • ►  March (1)
    • ►  February (2)
    • ►  January (2)
  • ▼  2008 (8)
    • ►  December (3)
    • ►  November (1)
    • ▼  October (1)
      • When Did I Start Work Today (linux)
    • ►  September (3)
Simple theme. Powered by Blogger.