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.
Asked
Active
Viewed 127 times
0
-
1Some of the methods detailed in How do I reset a lost administrative password? should still work. See also How do I reset a lost password (using recovery mode requires me to type the password)? (what you've described here seems to resemble the specific situation there). – Eliah Kagan Aug 31 '14 at 00:37
1 Answers
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.

rhubarbdog
- 412