[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Configuring Sudo
- From: Clint Savage <herlo1 gmail com>
- To: For participants of the Documentation Project <fedora-docs-list redhat com>
- Subject: Re: Configuring Sudo
- Date: Sun, 29 Mar 2009 22:02:23 -0600
On Sun, Mar 29, 2009 at 10:00 PM, Clint Savage <herlo1 gmail com> wrote:
> 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
>
Oh, and if you use visudo, if you set your $EDITOR variable, it
doesn't require vi/vim.
Clint
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]