Comment 9 for bug 207369

Revision history for this message
Iain Buclaw (iainb) wrote :

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