WHM lets an authorised administrator change the server’s root password. Use this when the credential needs replacing, and update any approved systems that rely on it afterwards.
Prepare the change
You must be logged in as root or a reseller with root privileges. Keep the current session open and confirm that a recovery console is available.
Identify any automation that uses the root password. Prefer approved key-based or limited service access where suitable, rather than distributing the new password widely.
Change the password
- Open Server Configuration > Change Root Password in WHM.
- Enter a strong, unique value in New root Password, or use the password generator.
- Enter it again in Confirm Password.
- Store the new credential securely.
- Click Change Password and check the confirmation.
This changes the server’s root password, not a cPanel customer’s password.
Verify access
Test a new authorised WHM login while keeping the original session open. Update approved stored credentials and check dependent automation.
Changing the password does not itself enable root password authentication over SSH; the SSH access policy still applies. If compromise is suspected, investigate other access methods, keys and active sessions as well as replacing the password.