Sunday, 7 January 2018

How to break root password centos 6

As your system starts to boot, you will need to press the "Escape" key to access the GRUB menu screen:

RHEL 6 GRUB Menu Screen 

From this initial menu, highlight your operating system using the arrow keys. At this screen you are presented with various options. Now press "e" to edit.

RHEL 6 GRUB Menu Screen 

Now highlight the line starting "kernel" and press "e" again to edit the highlighted parameter.

Once you press "e" you will be taken to the end of the line. Here you will need to press the "space" key and then add the number "1" to the end of the line as per image below.

RHEL 6 GRUB Menu Screen 

Now press "Enter" to accept your entry. You will be taken back to the previous screen.

RHEL 6 Change boot kernel parameter 

Now press "b" to boot your system.

Your system should now boot into "Single User Mode"

RHEL 6 Single User Mode 

At the command prompt you can issue the command "passwd" to change the root account password.

RHEL 6 Change root password 

Now reboot your system by issuing the "reboot" command.

Your system will now reboot normally back to its normal runlevel.

RHEL 6 reboot commands 

No comments:

Step-by-step OpenLDAP Installation and Configuration on server

This tutorial describes how to install and configure an OpenLDAP server and also an OpenLDAP client. Step by Step Installation and Conf...