1. Reboot the system
2. When you see the Grub menu, highlight your Fedora installation with the arrow keys and press ‘e’ to edit.
3. Again use the arrow keys to highlight the line saying ‘kernel’ at the beginning and press ‘e’ again, which will let you edit that line.
4. Append a space at the end of the line and type ’single’ without the quotes there. Press the Enter key.
5. Now press ‘b’ which will take you to the Linux single user mode where you’ll have privileged access without typing a password.
6. Now you do a passwd root
and change your root password. Then reboot.
- Reboot the system, and when you are at the selection prompt(GRUB menu), highlight the line for Linux and press ‘e’.
- This will take you to another screen, where you should select the entry that begins with “kernel” and press “e” again….
- Append "single" to the end of that line (without the quotes and give space)
- If your system requires you to enter your root password to log into single-user mode, then append init=/bin/bash after “single“. Hit “Enter” to save the changes.
- Press “b” to boot into Single User mode.
- Once the system finishes booting, you will be logged in as root. Use passwd and choose a new password for root.
- Type reboot to reboot the system, and you can login with the new password you just selected.
- ENTER INTO THE TTY MODE AND ENTER AS ROOT TO GET ALL THE USER NAME with users AND CHANGE THE PASSWORD OF USER WITH passwd “username” (without Quotes) to get the promt to change the password
You are done.