WHM: unable to login as root

If you have a problem logging into WHM as root, and get the following message:

The login is invalid

This could be because brute force protection is enabled and you are being blocked by the server.

You can disable it as root from the command line as follows:

  •  Get the process id’s of any cphilkd processes:
    ps aux | grep -i "cphulkd – process"
  • Kill any running processes:
    kill XXXX
  • Disable existing blocks:
    /usr/local/cpanel/bin/cphulk_pam_ctl –disable

You should now be able to login.

Date: January 12, 2015

Category: Linux Admin Tips

Author: John Taylor

Responses To This Post:

  1. John Taylor says:

    To change the whm root password:
    /usr/local/cpanel/scripts/realchpass root NEW_PASSWORD

Respond To This Post: