You could add these lines:

CODE:
# Set Environment for sudo -E.
#export EDITOR=vim
#export EDITOR=nano

# Make sudo -E the default setting for sudo.
# alias sudo='sudo -E'
:CODE

to the "~/.bashrc" file, so that slightly advanced users can set this up right.
Or when given directions to this, all they have to do is uncomment the right 
lines.

At least, this is what I've ended up doing with my system

Regards
Iain

-- 
"visudo" is completely unusable (/etc/sudoers can only be editted with an 
external text editor)
https://bugs.launchpad.net/bugs/207369
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to