visudo and other editors [Was: add users to sudo file]

Vram lamsokvr at xprt.net
Mon Nov 15 06:26:27 UTC 2004


On Mon, 2004-11-15 at 15:16 +1100, Jeff Waugh wrote:
> <quote who="Daniel Robitaille">
> 
> > > ...or 'sudo <any text editor> /etc/sudoers' will work.
> > 
> > the advantage of "visudo" instead of "any text editor" is that visudo will
> > do, before you save the file, some sanity checks and make sure you don't
> > have any syntax errors in your sudoers file.
> 
> You can use other editors while still being protected from screwups by
> visudo... Like this:
> 
>   EDITOR=nano visudo
> 
> [ Note that I do not endorse the use of nano at all! ;-) ]



So this makes nano use visudo checking rules????


????

Confused..

Err What does that do???

Thanks

Vram

> 
> - Jeff
> 
> -- 
> Ubuntu in MatarĂ³, Spain: December 5th-18th      http://www.ubuntulinux.org/
>  
>    "They are, as I told Telsa, all very small cheques. Indeed our cheques
>    only come in one size, otherwise cheque books would be far too hard to
>                           manufacture." - Alan Cox
> 





More information about the ubuntu-users mailing list