How-To Geek Forums » Linux
forgot my login password
(4 posts)1.Turn your computer on.
2. Press ESC at the grub prompt.
3. Press e for edit.
4. Highlight the line that begins kernel ........., press e
5. Go to the very end of the line, add rw init=/bin/bash
6. press enter, then press b to boot your system.
7. Your system will boot up to a passwordless root shell.
CAUTION: This is a FULL ROOT SHELL! You can damage your system if not careful!
8. Type in passwd <username>. Set your password.
9. Type in reboot.
The problem start from step 7 the machine boots and it takes me to the rootmode
root@(none):/# at this point i started to insert new username and then password
but then i get problems
telling me "bash:admin (which i typed earlier):command not found
so i dont know what to do kindly assist
Reply
You must log in to post.
