[juneau-lug] How to repair sudo?

  • From: Nels Tomlinson <nels.tomlinson@xxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Tue, 7 Apr 2015 09:56:28 -0800

Somehow I messed up sudo on a new computer preloaded with Kubuntu 14.04.
It was a few weeks ago, and I didn't keep any notes on what I did, but I
was trying to add my daughter's account to the sudoers list, and somehow no
accounts are on the sudoers list any more.
Both accounts are in the adm and sudo groups.  I have tried following the
instructions at
https://sites.google.com/site/installationubuntu/security/fix-sudo-ers-file
but my sudoers file looks like the one there.

I would attach the sudoers file, but I don't have access to it unless I
boot to single user mode.

I have the lines
root    ALL=(ALL:ALL) ALL

%admin ALL=(ALL) ALL

%sudo   ALL=(ALL:ALL) ALL
exactly as they appear in the link I mentioned above.

Does anyone have any thoughts on what to try next?

Does anyone have a default sudoers file from kubuntu 14.04?  Copying that
into place might be sufficient to fix the problem.

Nels Tomlinson
(907) 500-4802


------------------------------------
The Juneau Linux Users Group -- http://www.juneau-lug.org
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: