Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

How know DATE of [last login - FTP] of users ?

Discussion in 'General Discussion' started by 000, Dec 27, 2013.

  1. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    66
    Hi,

    as Root is possible know date of last login of X user ?, of all users ?
    and last DATE of login into cPanel ?

    with what command ?
    ( or from WHM ) ?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You will need to review the log files to determine when login attempts occurred. FTP logs are stored in /var/log/messages and cPanel access logs are available in /usr/local/cpanel/logs/access_log.

    Thank you.
     
  3. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    66
    But if 50 users logIN x day...
    Multiple times...
    This is a LOT of logs...

    Then no is possible know LAST DATE of X user logIN ?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You can simply search for specific usernames with the "grep" command. EX:

    Code:
    grep username /var/log/messages
    Thank you.
     
Loading...

Share This Page