[PLUG] Allow User to Run Shell Script As root
Tim
tim-pdxlug at sentinelchicken.org
Mon Mar 19 17:18:27 UTC 2012
> > Then commands like visudo, vipw, svn commit, ... (list goes on) ... will
> > use that editor by default.
>
> According to the sudo man page, visudo does not honor the EDITOR or VISUAL
> environments from .bash_profile or .bashrc. It needs to be set explicitly as
> the first line of /etc/sudoers.
Works for me. I use zile, which is hardly a popular editor.
Looking at my man page, it says it honors that environment variable if
the editor is in a predefined list. Maybe Debian has a predefined
list based on installed editors. Not sure.
tim
More information about the PLUG
mailing list