Sunday, January 7, 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:

Post a Comment

Installation FreeRADIUS and Daloradius on CentOS 7 and RHEL 7

SELINUX Setting:- Before installations, I recommend turning off SELinux or setting it in permissive mode:- [root@radius ~]# setenforce ...

Popular Posts