Score:0

Tried to change sudo to not prompt a password -- locked out of sudo visudo?

us flag
P T

This is probably an incredibly stupid question -- but is it possible to lock yourself out of sudo?

I used $sudo visudo to edit the text file and give no password permissions so I don't have to sudo every 10 minutes. I realize that there are security risks to this so I went back to change it to the default and work out another solution. Now I can't access it without a password.

Also, I can't give a screenshot of the text file since I'm locked out.

Any ideas? Thanks

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.