8109175771

How To Change Password Of Linux Server

CentOS Server 07-07-2023

How To Change Password Of Linux Server

Details

We need to login as user/root user to change password of server in terminal (ctrl + alt + t)

then use below command to change password

sudo passwd

when we will run this command it ask us for

 password for user: 

Here we will put it's existing password Than

 Enter new UNIX password: 

Here we will put server new password than

Retype new UNIX password:

Here we will confirm server new password than

we get success message for password change which is as below

passwd: password updated successfully


Example

Close Ads