[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Configuring Sudo



On Sun, Mar 29, 2009 at 9:54 PM, Andrew Ross <anross redhat com> 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]