Recover password under Ubuntu
If you forgot you password for your ubuntu system you can recover using the following steps:
-
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.
-
Type in passwd username
-
Set your password.
-
Type in reboot
Oppure se è implementata usare la shell di recovery, e quando esce la lista con le opzioni selezionare la shell di root e poi usare il comando passwd
http://www.soft-land.org/cgi-bin/doc.pl?host=www.soft-land.org&doc=articoli/artlb01
http://www.ubuntugeek.com/how-to-recover-password-under-ubuntu.html
http://www.chimerarevo.com/2010/07/10/ubuntu-come-ripristinare-la-password-dimenticata/