Skip to content

Best practices for sudo inside enroot container #262

@sbates130272

Description

@sbates130272

Hi Enroot Team! Thanks for this wonderful tool. I know enroot is designed to be lightweight and avoids complexity but I am wondering about best practices around sudo based escalation inside enroot containers. Based on my research I have yet to find a way to allow a user inside an enroot container to run something like sudo dmesg. Is there a best-practice way to allow this. In most cases my users are members of the sudoers group on the host machine. On trick I have found is to use ssh localhost <command> to run the command outside the enroot and on the host. Is there a setting in enroot.conf or a combination of the spank options I can use to do this without the ssh "hack"?

Thanks, Stephen.

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