How do I change my cPanel root password?

Browse by products and services

  • Applies to: DV with cPanel
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: AccountCenter access, cPanel with WHM access 
  • Applies to: VPS Hosting w/ cPanel
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: AccountCenter access


Changing your root password is simple. It's important that this password be as strong as possible. Please also note that Media Temple recommends that your root password not be one that is in use elsewhere.


  1. Log into your Media Temple account.
  2. Select the blue ADMIN button associated to your VPS server.
  3. Next to your server, select Actions > View.
  4. Select Settings.
  5. Next to Login credentials, select Manage.
  6. Type your new password in the appropriate fields. Be sure to use a strong password. Then select Save.

When logging into WHM/cPanel, use the username, "root", instead of your custom username.


Before you start, be sure to have these login credentials handy:


Watch this video to learn how to set or reset your cPanel password.


1. Log into WHM. You should be on the  management screen.
2. Select the Server Configuration panel.

3. Select the Change Root Password panel.

4. Create a strong password. It is extremely important that your root password is not one that you are using for anything else, as it controls access to all cPanel features. 


1. Open a terminal and log into SSH as the root user. You should type either "ssh" or "ssh root@12.34.567.890". You may receive something similar to this: "The authenticity of host '12.34.567.890 (12.34.567.890)' can't be established. RSA key fingerprint is.... Are you sure you want to continue connecting (yes/no)?" This is ok. Simply type 'yes' and hit enter.

2. Type the 'passwd' command.

3. Create a new strong password and confirm it. 

Note: For additional help navigating the many features of cPanel, please review cPanel's documentation or contact Media Temple support