Change root password in WHM

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

  1. Log in to the administrative panel at https://your-domain-or-ip:2087 or https://your-domain-or-ip/whm (according to your dedicated server manual).
  2. Authenticate with the root user and current password.

Change the root password

  1. In the WHM menu, go to Server Configuration → Change Root Password.

Menú Server Configuration en WHM Server Configuration → Change Root Password

The following screen will be displayed:

Pantalla Change Root Password en WHM

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 root user.
  • 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.

  • cambio contraseña servidor
  • 10 Users Found This Useful
Was this answer helpful?

Related Articles

Configure PuTTY for SSH

This article complements the SSH access guide and explains how to configure PuTTY to connect to a...

Reseller - Create a reseller account on a dedicated server

This article explains how to create a reseller account or convert an end-user account into a...

PHP - Enabling / Disabling Properties

This article explains how to enable or disable PHP properties for a specific account on a Linux...

DNS with custom nameservers

This article explains how to request and configure custom nameservers (for example...

Dedicated Servers - Generate a CSR file in Apache

This article explains how to generate a CSR (Certificate Signing Request) file using OpenSSL to...