Best practices for sudo inside enroot container
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- shell
- Domain
- operating-systems
Research direction
Start by reviewing enroot.conf and the available SPANK options, then compare their behavior with the reported ssh localhost workaround for running sudo dmesg outside the container. Done would be a documented, supported way to handle host sudo escalation from an enroot container, or a clear statement that no such configuration exists.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Shell
- Stars
- 1.1k
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/enroot
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·