Sunday, June 17, 2012

[LINUX_Newbies] Re: debian 6

 



--- In LINUX_Newbies@yahoogroups.com, Scott <scottro@...> wrote:
>
> 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.

It can't hurt to be safe. Plus it is the shortest command to type to do the job. We all know the shortest command is the best one.

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

__,_._,___

No comments:

Post a Comment