How to change the password on the Centos 6 operating system

22.04.2021
20:19

Changing the root password on Centos 6 is easy. But provided that you know the current password. In this tutorial, we will look at the procedure for changing the password of the current user on the Centos 6 operating system.

How to change the password on the Centos 6 operating system

Let's assume that you decided to change the password, the first thing you need to do is to log in to the console as root. Next, enter the command to change the password.

# passwd

Once the command is entered, you should see a dialog box that should display the following lines:

Changing password for user root.
New UNIX password:

Now we can enter a new password. There is a command for this purpose:

Retype new UNIX password:

Finally, for confirmation, we wait for the message:"passwd: all authentication tokens updated successfully."

That's it - the password on the Centos 6 operating system has been successfully changed.

15% discount on new VPS
Hurry up to order a server in any location
Choose a VPS

Other articles

22.04.2021
6 648
Knowledge base / Instructions - THE.Hosting
How to change password on Windows operating system 2019
22.04.2021
6 193
Knowledge base / Instructions - THE.Hosting
How to change password on Windows 2016 operating system
22.04.2021
5 342
Knowledge base / Instructions - THE.Hosting
How to change the password on the Debian 9 operating system