[Pkg-shadow-devel] Bug#688252: $EDITOR + /usr/bin/editor default
Paul Sladen
debian at paul.sladen.org
Mon Dec 24 09:18:56 UTC 2012
Hello Ben,
I'm not the maintiner, but I saw a related question on 'ubuntu-users'
so I started hunting. The related previous bugs on this topic are:
1.
* enable ENV_EDITOR
Fixed in sudo (1.4.1-1) on 1996-03-05.
2.
"visudo does not default to vi"=20
http://bugs.debian.org/388659
Fixed in sudo (1.6.9p9-1) on 2007-12-03
3.
"sudo: ignores configured editor preferences"
http://bugs.debian.org/474197
Fixed in sudo (1.6.9p15-2), on 2008-04-16 with a revert + rationale:
* revert the fix for 388659 such that visudo once again defaults to
using /usr/bin/editor. I was always ambivalent about this change,
it has caused more confusion and frustration than it cured, …"
So my understanding is that since (April 2008) $EDITOR should be
respected, and the fall-back should be to /usr/bin/editor.
Could you clarify more precisely what you're seeing?
-Paul
More information about the Pkg-shadow-devel
mailing list