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!

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:
    51
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice