Thursday, May 5, 2011

How To Recover password under Ubuntu

# Ubuntu root password
sudo passwd root



# How to recover Ubuntu user password

## From : http://www.ubuntugeek.com/how-to-recover-password-under-ubuntu.html

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.
Type in passwd username
Set your password.
Type in reboot