Yes! I forgot my password to a fresh install of Ubuntu. Thankfully I can recover using the following steps:
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.
The system will boot up to root shell without a password
7- Type in passwd “Username”
8- Type in reboot in order to reboot your system
9- Log-in with your new password set – done