How to change your VPS root password

Kaz Wolfe

Well-known member
Registered
Joined
Jul 7, 2016
Messages
604
Points
28
To change the password "root" for your VPS, connect via SSH to the VPS as "root" username.

Run the passwd command:

Code:
[root@server ~]#passwd
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:

Passwd: all authentication tokens updated successfully.
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.
 

AlphaNine Vini

Member
Hosting Provider
Registered
Joined
Dec 8, 2016
Messages
59
Points
6
Command : passwd

Then enter you required root password.
 

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top