Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

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

Open
neale-bpm opened this issue Nov 25, 2019 · 3 comments
Open

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

neale-bpm opened this issue Nov 25, 2019 · 3 comments

Comments

@neale-bpm
Copy link

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
@ajeddeloh
Copy link

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

@neale-bpm
Copy link
Author

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

@ajeddeloh
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants