[Bug 1028502] Re: sudoedit doesn't respect $EDITOR

Benjamin Kerensa bkerensa at ubuntu.com
Wed Jul 25 01:13:12 UTC 2012


Have you tried:

sudo update-alternatives –config editor

    $ sudo update-alternatives –config editor

    There are 5 alternatives which provide `editor’.
    Selection Alternative
    ———————————————–
    1 /usr/bin/vim
    2 /bin/ed
    *+ 3 /bin/nano
    4 /usr/bin/vim.basic
    5 /usr/bin/vim.tiny
    Press enter to keep the default[*], or type selection number:


** Changed in: sudo (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1028502

Title:
  sudoedit doesn't respect $EDITOR

Status in “sudo” package in Ubuntu:
  Incomplete

Bug description:
  Dear Friends,

  According to the man page, sudoedit should respect and use my $EDITOR.

  It doesn't. It always uses nano.

  Thanks and Blessings,
  Shahar

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: sudo 1.8.5p2-1ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-5.5-generic 3.5.0-rc7
  Uname: Linux 3.5.0-5-generic i686
  NonfreeKernelModules: wl
  ApportVersion: 2.4-0ubuntu4
  Architecture: i386
  Date: Tue Jul 24 18:16:54 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120421)
  ProcEnviron:
   TERM=screen-bce
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: sudo
  UpgradeStatus: Upgraded to quantal on 2012-07-12 (11 days ago)
  VisudoCheck:
   /etc/sudoers: parsed OK
   /etc/sudoers.d/README: parsed OK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1028502/+subscriptions




More information about the foundations-bugs mailing list