[aklug] Sudoers file

From: Jim <jwadell@gci.net>
Date: Tue Jan 06 2009 - 18:21:02 AKST

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.
Received on Tue Jan 6 18:21:22 2009

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 18:21:22 AKST