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

Allow sudo for all instead of just members of the wheel group #210

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

arnested
Copy link
Member

We already claim this in the README:

This being an image for development use, we have installed sudo and
configured all users in the container to use it without providing a
password.

Previously we did this by making sure the typical users were in the
wheel group.

But with a recent update (probably to the underlying alpine image --
but I'm not sure) the process doesn't have knowledge of this unless we
run Docker with the --group-add wheel option.

We want to avoid that. So let's just implement what we actually claim
in the documentation. This should also be better for the non-standard
use case where someone runs the container using a "non-stanard" user.

We already claim this in the README:

> This being an image for development use, we have installed sudo and
  configured all users in the container to use it without providing a
  password.

Previously we did this by making sure the typical users were in the
wheel group.

But with a recent update (probably to the underlying alpine image --
but I'm not sure) the process doesn't have knowledge of this unless we
run Docker with the `--group-add wheel` option.

We want to avoid that. So let's just implement what we actually claim
in the documentation. This should also be better for the non-standard
use case where someone runs the container using a "non-stanard" user.
Copy link
Member

@xendk xendk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@arnested arnested merged commit 2232471 into main Dec 14, 2023
14 checks passed
@arnested arnested deleted the sudo branch December 14, 2023 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants