bugs icon indicating copy to clipboard operation
bugs copied to clipboard

visudo: no editor found (editor path = /usr/libexec/editor)

Open neale-bpm opened this issue 4 years ago • 3 comments

Issue Report

Bug

Container Linux Version

2247.7.0

Environment

VMware

Expected Behavior

visudo -f /etc/sudoers.d/user1 should edit a file as documented at https://coreos.com/os/docs/latest/adding-users.html#grant-sudo-access doesn't work.

Actual Behavior

Result is visudo: no editor found (editor path = /usr/libexec/editor)

Workaround

export EDITOR=/bin/vi
visudo -f /etc/sudoers.d/user1

neale-bpm avatar Nov 25 '19 15:11 neale-bpm

Is this new in 2247.7.0? If so, does it work in older versions?

ajeddeloh avatar Dec 02 '19 21:12 ajeddeloh

I've not used it before on previous versions so I don't know. I'd guess it did at some point because someone documented it

neale-bpm avatar Dec 09 '19 20:12 neale-bpm

I just tried this on both current alpha and stable and could not reproduce. Can you still reproduce?

ajeddeloh avatar Dec 10 '19 18:12 ajeddeloh