The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lastlog

Discussion in 'General Discussion' started by jackal, Apr 25, 2003.

  1. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    Lastlog file in the var dir. When it is downloaded looks like it is encrypted. How to read the contents of this file?
     
  2. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    Run:

    lastlog

    It will give you the last login (via telnet/SSH) for each user defined on the system. You can add options for specific users or a specific number of days of history as well.

    Run:

    man lastlog

    to get the man page for it.
     

Share This Page