* 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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
x2go-user mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-user

Reply via email to