- Points
- 178
To disable cPHulk on a cPanel/WHM server, follow these steps. cPHulk is a brute force protection system that prevents unauthorized login attempts. Disabling it might expose your server to brute force attacks, so ensure you understand the implications before proceeding.
Steps to Disable cPHulk
Method 1: Via WHM Interface
- Log in to WHM:
- Open your web browser and go to https://your-server-ip:2087 (replace your-server-ip with your actual IP address).
- Log in using your root credentials.
- Search for cPHulk:
- In the WHM search bar on the left-hand side, type cPHulk.
- Click on “cPHulk Brute Force Protection” from the search results.
- Disable cPHulk:
- Click on the “Settings” tab.
- Find the option “Enable cPHulk Brute Force Protection” and uncheck the box.
- Scroll down and click “Save” to apply the changes.
- Stop cPHulk Service (Optional):
- If you want to ensure that cPHulk is completely stopped, you can manually stop the service via the command line.
Method 2: Via Command Line
- Access Your Server via SSH:
- Use an SSH client (like PuTTY) to connect to your server.
- Stop cPHulk Service:
Code:/usr/local/cpanel/scripts/restartsrv_cphulkd --stop
- Disable cPHulk Service:
- To prevent cPHulk from starting on boot, you need to modify its configuration.
Code:/scripts/restartsrv_cphulkd --disable
- To prevent cPHulk from starting on boot, you need to modify its configuration.
- Verify cPHulk is Disabled:
- You can check the status of cPHulk to ensure it’s not running:
Code:/usr/local/cpanel/scripts/restartsrv_cphulkd --status
- It should show that the service is not running or disabled.
- You can check the status of cPHulk to ensure it’s not running:
Considerations After Disabling cPHulk:
- Security Implications:Disabling cPHulk reduces protection against brute force attacks. Consider implementing alternative security measures, such as:
- Using strong passwords.
- Setting up firewall rules to limit access.
- Monitoring login attempts.
- Alternative Security Tools:If you still need brute force protection but want to use a different system, consider configuring alternatives such as Fail2Ban or CSF (ConfigServer Security & Firewall).