Am 02.10.2009 07:29, schrieb Arthur D.:

> I repeat once more.
> Every user who has VIM installed on theirs systems is forced to do extra
> configuration, to make sudo work as expected, just because someone prefer
> other editor and thinks that vanilla choice is bad. Isn't that just stupid?

I have VIM installed, set as default editor via EDITOR="/usr/bin/vim" in
my /root/bashrc. If I run VISUDO as root (I never use sudo so all there
is vanilla and so my user can't use sudo visudo) runs it with VIM.

I really don't see your problem.
All that was needed here on my box was setting VIM as my editor of
choice (I preferer to do that per-user so no setting of anything in rc
or /etc/env.d) and VISUDO accepted it. No magic involved.

Greetings

Sebastian

Reply via email to