It's a good idea to change your root password as soon as you first log in, and any time you think it may have been shared or seen.
Change it from SSH
- Log into your server over SSH as
root(see Your first SSH login). - Run:
passwd - Type your new password, press Enter, then type it again to confirm. Nothing shows on screen as you type, which is normal.
- You'll see a message that the password was updated successfully.
If you log in as a regular user with sudo, run sudo passwd root instead.
Pick a strong password
- At least 16 characters, ideally a random one from a password manager.
- Don't reuse a password from any other account.
- Better still, switch to SSH key login and turn off password login completely.
Locked out?
If you've lost your root password or locked yourself out, open a ticket in the Support department from your client area. Tell us the server's IP address or plan name, and whether you need a root password reset or console access. Our team will reset it or help you back in, and send the new details through the ticket. For your security, we can only do this for the account holder.