How to Reset the root Password in CentOS

Follow the steps to Reset the root Password in CentOS.

i) Reboot your computer.
ii) At the boot loader menu> use the arrow keys to highlight the installation you wish to edit. Once selected, type the letter a. You are presented with a prompt that should look something like the following:
grub append> ro root=LABEL=/
iii) Press the spacebar once and type in the word single to tell the grub bootloader to boot into single user mode. The prompt should now look something like this:
grub append> ro root=LABEL=/ single
iv) Press Enter> and grub will boot single-user mode. Once finished, you should be presented with a prompt that looks similar to this:
sh-3.0b#
v) Type in passwd root and press enter then enter and re-enter your new root password. When complete, type reboot and press enter. You can now login in as root.

3 Responses to “How to Reset the root Password in CentOS”

  1. Private Servers Says:

    Habbo Retros…

    Habbo Retros are slowly attracting more users with each passing day, most people prefer to play Habbo Retros with pets according to a recent google study, further evidence also supports that Habbo Retros have lead to an annual decrease in revenue for s…

  2. Web Hosting India Says:

    Hi buddy..You have done a great job about reset the root password in CentOS.Thank you so much for your marvelous posting.

  3. Free Hosting Says:

    This reset password in CentOS information is much more helpful for all of the visitors.Thanks for your excellent stuff.

Leave a Reply