visudo enhancement to edit-syntax-check arbitrary files
Todd C. Miller
Todd.Miller at courtesan.com
Fri Dec 14 12:53:29 EST 2001
In message <15385.45506.461372.951014 at komodo.home.wards.net>
so spake (bill):
> My understanding is that visudo requires you to already be root. I
> think that it is important to have the editor *not* run as uid 0 due
> to the fact that you can launch sub-processes, edit other files, etc.
> See the CAVEATS section in the man page for visudo.
Well, visudo doesn't require you to be root. The file permissions
on the sudoers file generally do though:
xerxes % visudo
visudo: /etc/sudoers: Permission denied
xerxes % visudo -c
/etc/sudoers file parsed OK
- todd
More information about the sudo-workers
mailing list