Bugzilla – Bug 2
In case EDITOR envar is empty, wierd error message.
Last modified: 2000-07-09 19:08:33 MDT
This is a trivial proposal. If EDITOR envar is an empty string, wierd error message appears. Typically, the following case occurs, # EDITOR= visudo sh: /etc/sudoers.tmp: Permission denied I suggest you to do Editor[0] != '\0' check in addition to Editor != NULL check. Thanks.
The EDITOR handling in my current source tree has been rewritten and has this fixed. The next sudo release will not have this problem.