Pages

Friday, June 23, 2017

How to Reset Forgotten Root Password in RHEL/CentOS and Fedora

In this post will guide you simple steps to reset forgotten root password in RHELCentOS and Fedora Linux with example. There are various ways to reset root password which are.
  1. Booting into single user mode.
  2. Using boot disk and edit passwd file.
  3. Mount drive to another system and change passwd file.
Reset Root Password
Reset Forgotten Root Password
Here, in this article we are going to review “Booting into single user mode” option to reset forgotten root password.
CautiousWe urge to take backup of your data and try it out at your own risk.
STEP 1. Boot Computer and Interrupt while booting at GRUB stage hitting ‘arrow‘ keys or “space bar“.
Booting Grub Stage
Booting GRUB Stage
STEP 2. Type ‘a‘ to modify kernel argument. Anytime you can cancel typing ‘ESC‘ key.
Modifying Kernel Parameters
Modify Kernel Argument
STEP 3. Append 1 at the end of “rhgb quiet” and press “Enter” key to boot into single user mode.
      ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
                                                    ► Read more: http://adf.ly/1n6ZLu
      ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

No comments:

Post a Comment