How to enter single user mode in linux with screenshots.
In this post i have explained how to enter in to single user mode in Redhat / Centos / Fedora Linux with screen shots. If we lost or forgot root password the first and best way to reset the root password is single user mode. In this blog i have explained how to enter in to single user mode. I have used Redhat linux for this example but this method is common for CentOS and Fedora also.
At the time of Linux OS boots it will ask you for “Press any key to enter the menu”. At the time press any arrow key.
Navigate to your desire kernel using arrow button in keyboard and press “e” to edit.
After you press “e” on a kernel the below screen will be displayed.
Use arrow key in keyboard and go to 3rd line and press “e” to edit. Then go the end of line press “space bar” forward by number “1” and press enter. The 1 is representing single user mode.
Press “b” to boot to the single user mode
After pressing enter linux booting process will start and it will end up with the below screen. To find the runlevel check out blog How to find the runlevel in linux / Unix
Now you are in the single user mode. Reset your password using password command or follow steps in User and Group Administration .