On Sun, Mar 29, 2009 at 10:00 PM, Clint Savage <herlo1@xxxxxxxxx> wrote: > On Sun, Mar 29, 2009 at 9:54 PM, Andrew Ross <anross@xxxxxxxxxx> wrote: >> Hi Kushal, >>> >>> Btw, why we do need to use visudo than simple vi ? What is the difference >>> ? >>> >>> Kushal >>> >> >> By default /etc/sudoers is read only. >> >> visudo lets you edit and save. vi the same file and you have to force save. >> >> /me guesses its just added security.... >> > > That's not the only reason. Try catching an error / typo while just > using vi/vim. With visudo, it validates syntax too. > > Clint > Oh, and if you use visudo, if you set your $EDITOR variable, it doesn't require vi/vim. Clint -- fedora-docs-list mailing list fedora-docs-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-docs-list