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

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

@neale-bpm

Description

@neale-bpm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions