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.

marked as duplicate by Eliah Kagan, Alvar, Eric Carvalho, muru, karel Aug 31 '14 at 2:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.