Debian boot to single-user mode
One method: Append init=/bin/bash to the end of the grub line which begins with linux (and ends with quiet). Reset your password and reboot normally. Don’t forget it again. Consider installing sudo. Another method: Since this is apparently a virtual machine, you can mount its disk on another (working) virtual machine and manually remove the … Read more