I lost the password for root on a ubuntu virtual machine. Is there any way to restore it or I need to install a new virtual machine with ubuntu again?
|
feedback
|
|
You can change your root password by running | |||
|
feedback
|
|
Ubuntu doesn't have a password for the root account, unless you explicitly enable it after installing. Sudo will ask for your current account's password, by default. | ||||
|
feedback
|