Off-Topic > Off-Topic - Tiny Tux's Corner
[SOLVED] Require password for sudo command ?
Lee:
Thanks gerald_clark - but with either or both of EDITOR and VISUAL set to another value, visudo still invokes vi or something that looks very like it. So the question remains: does visudo do anything, besides syntax checking the output, that simply invoking a normal editor would not do?
Rich:
Hi Lee
Maybe you need to set those environmental variables for root?
gerald_clark:
Looks like it was compiled without $EDITOR support.
Rich:
Hi Lee
Adding the following line to your sudoers file:
--- Code: ---Defaults env_editor
--- End code ---
and setting the EDITOR variable for root will allow you to use a different editor.
Lee:
No Luck - it looks like w/o the $EDITOR support compiled in it doesn't honor that.
On the other hand, apparently there is no magic in visudo besides the syntax checking.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version