Late to the party here, but Debian sudo does not depend on any editor packages: https://packages.debian.org/stretch/sudo Neither does Ubuntu: https://packages.ubuntu.com/artful/sudo
Seth
On 11/16/2017 08:25 PM, Mihai Moldovan wrote:
- On 11/17/2017 03:17 AM, Robert Dinse wrote:
Should be but centos6 is an ancient kludge. I really should move this
stuff to a modern ubuntu installation.
I've just looked it up. sudo on CentOS 7 depends upon vim-minimal, although a comment in the ChangeLog mentions "visudo requires vim-minimal or setting EDITOR to something useful (#68605)"
The bug report referenced is https://bugzilla.redhat.com/show_bug.cgi?id=68605 - and it looks like this is where vim-minimal was added as a dependency.
So it looks like even CentOS 7 has this bug.
Working around it is difficult, though, since without a proper EDITOR environment variable set, depending on vim-minimal makes sense to get visudo working.
The alternative would be defaulting to nano for the EDITOR variable and depending upon nano, but this will just shift the problem to users who hate nano.
Just to be clear - this issue is present on both CentOS 6 and 7... and I figure Debian (or Ubuntu) don't fare better, but I haven't tested these systems.
Mihai
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
-- Seth Galitzer Systems Coordinator Computer Science Department Kansas State University http://www.cs.ksu.edu/~sgsax sgsax@ksu.edu 785-532-7790