[aklug] Re: Sudoers file

From: Jim <jwadell@gci.net>
Date: Wed Jan 07 2009 - 16:40:11 AKST

So fix it! they have instruction on how to add your stuff and re-burn
it. I bet there would be a following among the enlightened!

Christopher Howard wrote:
> On Tue, 6 Jan 2009, Jim wrote:
>
>> Unless you are a lot better than most of us, ALWAYS user the visudo
>> command to edit this file! It checks syntax. You may not end up with an
>> entry that does what you want, but you will have a valid file, and the
>> rest of the stuff will work.
>>
>> Want to see the scars on my backside?
>>
>> Jim
>>> I locked out the root password for better security. I already had
>>> given my
>>> account full sudo access to the system, so I didn't imagine I'd have
>>> any
>>> problems.
>>>
>>> Then I was trying to follow some instructions online for giving a local
>>> user root privileges to a single program with sudo. I apparently
>>> messed it
>>> up, because now when I try to go root with sudo, I just get some
>>> warning
>>> about a syntax error in the sudoers file.
>>>
>>> Moral of the story: Disable your root password /after/ you finish
>>> haphazardly mutilating your sudoers file, not /before/. :D
>>>
>>>
>> ---------
>> To unsubscribe, send email to <aklug-request@aklug.org>
>> with 'unsubscribe' in the message body.
>>
>>
>
> Thanks for the warning -- a very appropriate one. Thankfully, I was
> able to fix the situation with that system rescue CD you guys
> recommended. BTW, the CD is a pretty handy tool, with the 32bit and
> 64bit images on it. Though for some reason it doesn't come with Emacs.
> >:(
>
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Jan 7 16:40:23 2009

This archive was generated by hypermail 2.1.8 : Wed Jan 07 2009 - 16:40:23 AKST