[juneau-lug] Re: How to repair sudo?

  • From: Kevin Miller <atftb2@xxxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Wed, 08 Apr 2015 08:59:50 -0800

On 04/07/2015 09:51 PM, Nels Tomlinson wrote:
> I tried the Hail Mary, but Mary didn't hail back.  It was a good thought,
> but changing the %sudo line didn't change anything.
> Visudo saved the edited file as sudoers.tmp without any complaints.  I then
> did mv /etc/sudoers /etc/sudoers.old and mv /etc/sudoers.tmp /etc/sudoers.
>
> I have attached sudo.old.

If you want, you can blow off the Ubuntu way of doing things and just 
log in as good old root.  Go in as single user, and change roots 
password.  After that you can just do a "su -" to get a root shell 
instead of doing "sudo su -" or "sudo COMMAND".

I suppose the Ubuntu folks think it's safer to disable root login by 
default, but I find it much handier to open a root shell and do what I 
need to do then log out of it rather than doing sudo.

...Kevin
-- 
Kevin Miller
Juneau, Alaska
http://www.alaska.net/~atftb
"In the history of the world, no one has ever washed a rented car."
   - Lawrence Summers
------------------------------------
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: