Reset root password on CentOS 6

How to reset root password on CentOS 6

When we forgot password root on Centos, we can reset that password easily. We have to use single mode to do that.

Step 1: Hard reboot your Server, and Configure in GRUB, Choose “e” to edit GRUB

Step 2: Choose kernel line and type “e”

Step 3: In kernel configuration , we have 2 methods to change to single mode. 1 we can use number “1”, 2 we can use character “S”. Enter after done.

Step 4:  Choose kernel which we just made change and type “b” to boot

Step 5:  Now we are in single mode, we can reset password and reboot Server with new root password.

 

That’s all. Thanks for using IThelpblog.com

One comment to Reset root password on CentOS 6

  • ashiq  says:

    thanks. it works for me

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>