root-passwd
--------
Reset Forgotten User Password On Ubuntu 16.04 / 17.10 / 18.04
1. select *Advanced options for Ubuntu
2. Ubuntu, with Linux.x.x-generic (recovery mode)
3. Select "root".
Press Enter for maintenance (or press Control-D to continue): # mount -o remount,rw / # passwd <username> Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully # reboot
-------------------