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 128 times
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
- 422
- 1
- 4
- 11