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
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