Skip to main content

Where to Find a FULL Audit of cPanel Login History - Successes and Failures (not WHM) ?

Comments

2 comments

  • DennisMidjord
    It's logged in the access_log found in /usr/local/cpanel/logs/
    : 127.0.0.1 - myusername [12/29/2022:00:52:25 -0000] "POST /login/?login_only=1 HTTP/1.1" 401 0 "https://example.com:2083/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" "-" "-" 2083 127.0.0.1 - myusername [12/29/2022:00:53:30 -0000] "POST /login/?login_only=1 HTTP/1.1" 301 0 "https://example.com:2083/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" "-" "-" 2083
    First is a failed login from 127.0.0.1. It returns code 401. Second is a successful login. It returns a 301 redirect. That's the only place logins (whether successful or not) are logged.
    0
  • cPRex Jurassic Moderator
    What @DennisMidjord said. If you'd like to see more details logged with that information, it would be best to create a feature request using the link in my signature, and I can bring that up with the team.
    0

Please sign in to leave a comment.