[aklug] Re: Sudoers file

From: Christopher Howard <choward@indicium.us>
Date: Tue Jan 06 2009 - 18:56:08 AKST

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. >:(

-- 
Christopher Howard
http://indicium.us
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Jan 6 19:01:09 2009

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 19:01:09 AKST