VPS - Change your Password

When you first set up your account, you are given a temporary password for the root user. This password is often insecure and short. Most setups require that the user changes their password upon first login but this isn’t always the case. If this is the scenario you find yourself in, follow along this quick and easy tutorial.

Requirements:

MacOs X / Linux ( This guide doesn’t cover how to access your VPS via Windows. Even the standard terminal provided by your hosting company will roughly get the job done.)

Instructions: Changing the Default Root Password on a VPS

Launch the terminal and input your login credentials.

Type:

passwd

You will be asked to enter a new Unix password. Choose a secure password and confirm it a second time to make the changes permanent.

And you are done! The output should look something similar to this:

Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully