How to find user login history

Discussion in 'Mac Basics and Help' started by AndyFL, Dec 26, 2007.

  1. AndyFL macrumors regular

    Joined:
    Aug 20, 2007
    #1
    Just am curious to check the log-in / log-out history of users on my machine -- I've done this before (a long time ago) but can't for the life of me remember where I found it. Thanks in advance for refreshing my memory :)
     
  2. wightstraker macrumors regular

    Joined:
    Dec 18, 2007
    #2
    Check the Console (Applications/Utilities). If I remember correctly System.log logs startups, shutdowns, sleeps, as well as user logins.
     
  3. Baron58 macrumors 6502

    Joined:
    Feb 19, 2004
    #3
    Unix systems store this in wtmp. Open a terminal, and enter 'last' (without the quotes).
     
  4. Eidorian macrumors Penryn

    Eidorian

    Joined:
    Mar 23, 2005
    Location:
    Indianapolis
    #4
    w and/or last in Terminal.

    finger is fun too.

    The man pages for those might be a little more informative as well.
     
  5. AndyFL thread starter macrumors regular

    Joined:
    Aug 20, 2007
    #5
    Bingo, thanks!

     
  6. twoodcc macrumors P6

    twoodcc

    Joined:
    Feb 3, 2005
    Location:
    Right side of wrong
    #6
    thanks! but how far back can i go with these commands?
     
  7. kushalashok macrumors newbie

    Joined:
    Jan 31, 2013
    Location:
    Chandigarh
    #7
    Useful

    I followed these steps:

    Open spotlight (Command+ space)
    Type "Console"
    Select "system.log" from left panel under "FILES" section
    Type "Login" in the String Matching search bar in the top right corner.

    Analyze the logs and you'll be able to figure out all the login details.
     
  8. kidtreo macrumors newbie

    Joined:
    Dec 16, 2016
    #8
    Thanks for this. Regrettably Console is only showing activity from today. What is the easiest way to view user log ins prior to today? Thanks again...


     

Share This Page