Skip to main content

Cryptic cpanel error message has_cpuser_file failed

Comments

3 comments

  • cPanelLauren
    Hello, This is actually read from /usr/local/cpanel/logs/login_log it's a POST request indicating that someone attempted to login as the user badpasswd. For example here is output from my server for a non-existent user: /usr/local/cpanel/logs/login_log:[2019-06-23 04:25:59 -0500] info [cpaneld] - adssadadsa "POST /login/?login_only=1 HTTP/1.1" FAILED LOGIN cpaneld: invalid cpanel user adssadadsa (has_cpuser_file failed)
    The has_cpuser_file
    is part of a Perl Module - /usr/local/cpanel/Cpanel/Config/HasCpUserFile.pm
    which determines if the user input as the login has a cpanel user file associated with it or not. In this instance, the result has_cpuser_file = false
    because the user badpasswd doesn't exist.
    0
  • jeffschips
    Ah thank you for clearing that up!
    0
  • cPanelLauren
    No problem! Happy to have been able to help!
    0

Please sign in to leave a comment.