Broke my sudoers password, how do I reset it without using sudo?
Posted
by
Eric Dand
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Eric Dand
Published on 2012-10-13T20:05:39Z
Indexed on
2012/12/14
11:20 UTC
Read the original article
Hit count: 248
I thought it would be a good idea to finally take the password off my little netbook since it has never actually been of any use, and has mostly just slowed down . But when I went to change my password, there wasn't even an option to make it blank, and any attempt to make it a few easy characters was met with "Password too weak".
So I did what any good geek would do and popped open the terminal, read the manual entry for passwd
and quickly used the -d
option to remove the password from my account. It all went well for a couple days (I even managed to also make my keychain password blank) until I tried to update the thing.
My sudoers password is not blank, and it's not my old password. I have no idea what it is. How do I reset it (or even better, make it blank) without the use of the sudo
command?
© Ask Ubuntu or respective owner