Friday, June 15, 2012

Re: [LINUX_Newbies] Re: debian 6

 

On Fri, Jun 15, 2012 at 11:42:14AM -0000, Pascal wrote:
>
>
> --- In LINUX_Newbies@yahoogroups.com, "Paul" <pfrederick1@...> wrote:
>
> > I didn't know you could edit the sudoers with a plain text editor. I thought that was what visudo was for?
>
>
> Isn't that what visudo actually does? Open the sudoers-file with vi?
>
It opens the sudoers file with the default editor. For example, I
believe that on Ubuntu, it will open the sudoers file with nano.

The other thing it does is check for syntax errors. That is, if you
make a syntax error while editing, it will warn you.

You can edit the sudoers file with any text editor, visudo is just a bit
of an additional safeguard.

--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Buffy: I didn't jump to conclusions. I took a small step, and
conclusions there were.

__._,_.___
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment