0

I have been using UbuntuLKB 17 for almost half a year now, and recently, when attempting to download updates, am prompted for a password. I never set a password for Ubuntu. I've read similar threads on this sight telling me where to go via terminal to simply set a new one, but I can't do any of this without entering the current password, which I don't know. Help? Thanks.

1 Answers1

0

Ubuntu has a recovery boot option. Don't know your version, you may need to insert install media and do renovery boot. This gives a root shell. Mount your lost-password-file-system to a new folder. Use the chroot command. Then just use passwd as normal, because your root it'll run smoothly.