Removing Red Hat Password In Grub Loader !!


This Post is for All Red hat Linux Distribution users, Who Have Lost Thier Root  password or Who Want Privileged Access For a Physically Accessible System !!

The Scenario is That you don’t know the root password. ::

So Here We Begin

To Remove root password in Red Hat follow these instructions ::

When System Successfully boot, it will ask for username and password. But you don’t know the root’s password. To change the root password you need to boot the system into single user mode. You can pass the some of the important kernel arguments from the boot loader if your target system’s Boot loader is unprotected.

Firstly Reboot system with alt + ctrl + del key combinations
Press space bar on boot loader screen

remove root password

This will drop you in OS selection screen
Select linux (If you have multibooting then select linux)

From grub boot loader screen select kernel parameter line and press “E”

remove root password

Select the JLine starting from kernel /vmlinuz…
remove root password in linux


In kernel editing mode press space bar and write s in the end of line just after the rhgb quiet and press enter key that will bring in grub bootloader screen
remove root password

On grub boot loader screen press b

remove root password in linux


This change will tell to boot system in single user mode.
After loading essential modal kernel will drop in rescue mode with root prompt
remove root password


now run passwd command to reset root password
and init 5 command to run system in graphic mode or you can just reboot system to on its default run level
remove root password

++++++++++++++++++By Ankit Pandey +++++++++++++++++++++

One thought on “Removing Red Hat Password In Grub Loader !!

Add yours

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

Up ↑

The Blog

The latest news on and the WordPress community.