[plug] sudoers
Denis Brown
dsbrown at cyllene.uwa.edu.au
Thu Jan 13 16:42:25 WST 2005
Hello Jim.
At 04:38 PM 13/01/2005, Jim Householder wrote:
>Hi
>
>The default /etc/sudoers has a comment in it saying it *must* be edited
>with visudo.
>
>Why? What's wrong with other editors?
From the man page...
visudo edits the sudoers file in a safe fashion, analogous to vipw(8).
visudo locks the sudoers file against multiple simultaneous edits, provides
basic sanity checks, and checks for parse errors. If the sudoers file is
currently being edited you will receive a message to try again later.
So if you use a "normal" editor you will lack these protections.
Hope this helps,
Denis
More information about the plug
mailing list