How to recover linux password in RHEL 6 | Linux Password Recovery

Recover linux password in RHEL 6 step by step.

To recover linux password or linux password recovery the steps are as fallows

Distrub the normal boot by pressing any key when RHEL 6 booting screen is displayed

You will be inside the menu like the following.

press “e” to edit the kernel parameter, it will show following menu.

Move the cursor to 2nd line (line of kernel) press “e” to edit the kernel parameter.

Type “1” after the line to boot in maintenance level and press enter to continue.

It will following options.

Now, type “b” to boot it in single user mode. Then you will be in single user mode.

Now without being prompted for password you will be logged in the single user mode

To change the password use command #passwd, but as you can see it will not work because of seLinux.
Check the SELinux mode by using #getenforce command.

As we can see that SELinux is in Enforcing mode, Change it to permissive and then try changing the password.

Change the SElinux Mode to permissive, Using
#setenforce 0
Now try to change the password using # password command

Okey, Now we are successfully changed the password, now just type exit or reboot, For reboot the system and try the new password for root.

When you type exit or reboot and press enter it will show above picture process..

——————————————————————————————————————-

I Hope you enjoyed reading this post.. Comment us and Share.

 

15 thoughts on “How to recover linux password in RHEL 6 | Linux Password Recovery”

  1. Pretty nice post. I just stumbled upon your weblog and wanted to say that I have truly enjoyed surfing around your blog posts. After all Ill be subscribing to your feed and I hope you write again soon!
    dragonPl

  2. I simply want to mention I’m new to weblog and truly enjoyed you’re blog site. Almost certainly I’m going to bookmark your site . You absolutely have awesome writings. Cheers for sharing your web page.

  3. I simply want to mention I am new to blogging and truly savored your web blog. Likely I’m likely to bookmark your site . You really come with impressive article content. Thanks for sharing your web page.

Leave a Reply

Your email address will not be published. Required fields are marked *