Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Allow users to become sudoers automatically #152

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shuhaowu
Copy link
Contributor

This PR introduces a sudoer option for each user, which will automatically add the user to the list of passwordless sudoers in the container. It is accomplished via files in /etc/sudoers.d, which should be supported in most distros afaik.

This should eliminate some unnecessary provisioning step and streamline the process.

r: @robvdl

@robvdl
Copy link
Member

robvdl commented Feb 10, 2020

I like this but would personally have called the config option "sudo: true" rather than "sudoer: true".

I'm a bit late to the party to merge this though, two years have passed since.

Do you have an objection renaming this config option?

@mtausig
Copy link
Contributor

mtausig commented Feb 21, 2020

This branch should be rebased to the current master, to check if it passes the tests.

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

Successfully merging this pull request may close these issues.

None yet

3 participants