cPanel VPS Security is important. Scripts are constantly scanning the internet looking for servers to break into using brute force attacks. Fear not, cPanel comes with a built in brute force protection in the form of cPHulk. While this isn’t the only measure you should use, we certainly recommend it.
It’s fair to say that with great protection, can come great inconvenience. You’ve enabled cPHulk but you’ve managed to lock yourself out. Fear not, there’s a couple of options to get yourself back in the game:
1) Use cPanel autofix script from WHM
You can try running /scripts2/doautofixer?autofix=disable_cphulkd from WHM. So for example:
https://www.example.com:2087/scripts2/doautofixer?autofix=disable_cphulkd
Where www.example.com is the name or IP of your server.
2) Disable cPHulk from the command line via terminal or ssh
If you have locked your self out of WHM you may still be able to ssh to your machine, or failing that you can use a terminal window from the ServerMule console.
Once you have logged into your server as root, type the following command to disable cPHulk:
/usr/local/cpanel/bin/cphulk_pam_ctl --disable
Unsurprisingly you can also use the following to re-enable it:
/usr/local/cpanel/bin/cphulk_pam_ctl --enable
If you have any feedback or comments, you know what to do.
Thanks for stopping by.