>>> On 8/4/2013 at 12:24 PM, Paul Gilmartin <[email protected]> wrote: 
> I was lately shocked and dismayed to discover on a certain Linux
> system that "visudo" dropped me into not "vi", but "nano".  I
> can't even figure out where that's configured; perhaps it's
> compiled in.  How could they!?

According to the man page:
The following environment variables may be consulted depending on the value of 
the editor and env_editor sudoers settings:
  VISUAL  Invoked by visudo as the editor to use
  EDITOR  Used by visudo if VISUAL is not set


Mark Post

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to