Howto reset or recover root password on Redhat 6 RHEL

Howto reset or recover root password on Redhat 6 RHEL

 

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

Step 2: Choose kernel line and type “e” to edit that line

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.

 

Step 6: Login Server with new root password

login as: root
Red Hat Enterprise Linux Server release 6.3 (Santiago)
Kernel \r on an \m
###############################################################
# ITHELPBLOG.COM#
# Authorized access only! #
# Disconnect IMMEDIATELY if you are not an authorized user!!! #
# All actions Will be monitored and recorded #
###############################################################root@192.168.1.147’s password:
Last login: Fri Dec 14 09:57:07 2012 from 192.168.0.105
[root@FileServer ~]#

That’s all. Thanks for using IThelpblog.com

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>