This is an old revision of the document!
Восстановление утерянного пароля в Ubuntu
https://help.ubuntu.com/community/Grub2
Power up your computer.
Press ESC at the grub menu.
Press e for edit.
Highlight the line that begins “Ubuntu, KERNEL ………” and press e.
Go to the end of this line, add rw init=/bin/bash or add single and press enter.
Press b to boot your system.
Your system will boot up to a passwordless root shell.
Type in passwd username where username is the username you lost the password for.
Set your password.
Type in reboot.