bugs
bugs copied to clipboard
visudo: no editor found (editor path = /usr/libexec/editor)
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
Is this new in 2247.7.0? If so, does it work in older versions?
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
I just tried this on both current alpha and stable and could not reproduce. Can you still reproduce?