Professional Documents
Culture Documents
Reset Root Password On Centos 5 & 6: Boot or Reboot Your Centos Installation
Reset Root Password On Centos 5 & 6: Boot or Reboot Your Centos Installation
GENERAL LINUX
This How-To was written to show you step by step the process of resetting the root password on your CentOS 5/6
installation.
Steps (7 total)
1
Expand
From the console ATL+CTRL+DEL will get you headed in the right direction.
GRUB Menu
Expand
From the GRUB menu, select the appropriate kernel version and press the 'e' key.
You will now be presented with the option menu for the kernel version.
Expand
Now we need to add to the end of this line one o the following:
1, s, or single
And now press Enter to save your changes.
Now you will boot up to the root shell and you can use passwd to set your new password.
You will be required to enter the password twice.
Once you have completed this, reboot and you have a new root password for your CentOS installation.