Reset forgotten password in Ubuntu
From zen2
Revision as of 18:36, 7 October 2008 by 118.93.34.60 (talk) (New page: #Turn your computer on. #Press ESC at the grub prompt. #Press e for edit. #Highlight the line that begins kernel ........., press e #Go to the very end of the line, add rw init=/bin/bash #...)
- Turn your computer on.
- Press ESC at the grub prompt.
- Press e for edit.
- Highlight the line that begins kernel ........., press e
- Go to the very end of the line, add rw init=/bin/bash
- press enter, then press b to boot your system.
- 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!
- Type in passwd <username>. Set your password.
- Type in reboot.
