Changing the root password for a Virtual Private Server (VPS)
To change the root password on your VPS you will need to use the command line using SSH. Please follow these steps:
- Log in to SSH on your VPS.
- Once connected issue the following command:
passwd root
- This will bring up a new line where you enter your new password, press enter.
- Now re-enter the same password, press enter.
This will have now successfully changed your root password. Please ensure you set it to something complex, an alpha-numeric combination, which is not based upon dictionary words.
Important Information
Please note it is only possible to change the root password on a Self Managed VPS, this is not possible on Fully Managed VPS’.