How to reset root password CentOS

1. Boot the system and when you see the following message "Press any key to enter the menu",press any key. (You will see the list of available kernel versions.)

2. Press e in order to edit commands before booting.

3. Highlight the list item with vmlinuz in it by using the arrow keys and press e.

4. Now type single or init 1 at the end of the line.

5. Then press enter and b to boot the system with the new argument. (The system will boot into single user mode and you will see bash prompt)

Now it's time to change the password:
6. Type passwd

### Shell Commands ###
passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Hjälpte svaret dig?

Relaterade artiklar

Adding and viewing IP addresses on CentOS servers

To add newly assigned IP addresses from SSH, follow this procedure: (Please follow the steps...

How to Backup VOS3000 Database and download to your local PC

Login to your server Via SSH ( You can use Putty...

How to Change SSH Port in Centos

Login into your Server Via Putty or any SSH client.type in following commandvi...

How to Reset Mysql passowrd

Step # 1 : Stop mysql service # /etc/init.d/mysql stopOutput: Stopping MySQL database server:...

Linux OS login software [putty]

Please click the link for download Putty software.  If this is not working then copy and paste...