- Joined
- Jul 7, 2016
- Messages
- 609
- Points
- 28
To change the password "root" for your VPS, connect via SSH to the VPS as "root" username.
Run the passwd command:
Enter the new password you want (when you enter it, nothing will be displayed on the screen).
Changing password for root user.
New password:
Retype new password:
A password change confirmation will appear:
Run the passwd command:
Code:
[root@server ~]#passwd
Changing password for root user.
New password:
Retype new password:
A password change confirmation will appear:
To check the new password is what you wanted to change to and make sure everything is working correctly, you simply disconnect and reconnect over SSH and type new password to see if your password is changed or not.Passwd: all authentication tokens updated successfully.