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 can I check the logs Cpanel account?

Discussion in 'Security' started by robi_70, Nov 18, 2011.

  1. robi_70

    robi_70 Member

    Joined:
    Jul 25, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    How can I find out (in WHM) who and when has logged on to the selected account's Cpanel? I need the statistics for the last half a year for one of the accounts.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The cPanel log files are not accessible via Web Host Manager. Instead, you will need to view them via the command line. Here is an example of a command you can use to see which IP addresses accessed a specific user's cPanel:

    Code:
    # grep username /usr/local/cpanel/logs/access_log
    Thank you.
     
Loading...

Share This Page