This article explains how to change the root user password of a Linux dedicated server from WHM, the administration panel that accompanies cPanel on this type of server.
Note: On Linux servers with cPanel, server administration is done from WHM (root user). cPanel is the panel for each hosting account; to change the server password you use WHM.
Access WHM
- Log in to the administrative panel at
https://your-domain-or-ip:2087orhttps://your-domain-or-ip/whm(according to your dedicated server manual). - Authenticate with the
rootuser and current password.
Change the root password
- In the WHM menu, go to Server Configuration → Change Root Password.
Server Configuration → Change Root Password
The following screen will be displayed:
| No. | Field | What to complete |
|---|---|---|
| 1 | New Password | Enter the new password. WHM shows the Password Strength indicator: the higher the complexity, the greater the strength. |
| 2 | Confirm Password | Retype the same password to confirm it. |
| 3 | Save | Click Change Password to apply the change. |
Security recommendations: Use a long password (12+ characters), with uppercase, lowercase, numbers, and symbols. Do not reuse passwords from other services. Save it in a password manager.
After the change
- The new password applies immediately for WHM, SSH, and accesses using the
rootuser. - Update the saved password in PuTTY, FileZilla, or other tools that connect via SSH/FTP with
root. - If you have open SSH sessions, they may remain active until closed; new connections will require the updated password.
Common issues
- Does not accept the password: check that it matches in both fields and meets the minimum strength level.
- Cannot log in after the change: verify that there are no typing errors; if you lose access, contact support.
- Confused WHM with cPanel: changing the password of a hosting account is done from cPanel of that account, not from this screen.
If you cannot access WHM after changing the password or need to reset root access, open a ticket from the client portal or consult via the site's online chat.
