Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
neale-bpm opened this issue Nov 25, 2019 · 1 comment

Comments

@neale-bpm
Copy link

@neale-bpm neale-bpm commented Nov 25, 2019

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

This comment has been minimized.

Copy link

@ajeddeloh ajeddeloh commented Dec 2, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.