How to change root password on centos using ssh

Steps to Change password via SSH in Linux/Centos

First login to your server using SSH connection , then simply you can run the following commands to change your root or current password as bellow:

passwd

Then you will prompt to Type your new password and , Retype your new password as bellow:

Changing password for user root.
New password:
Retype New password:

And then your new password should work fine.

 

 

2,890 total views, 1 views today

How to change root password on centos using ssh
4.5 (90%) 2 votes

Leave a Reply

Your email address will not be published. Required fields are marked *

*