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

abc-user member of several groups (IDs) in the container #48

Closed
tapufd opened this issue Sep 11, 2020 · 2 comments
Closed

abc-user member of several groups (IDs) in the container #48

tapufd opened this issue Sep 11, 2020 · 2 comments

Comments

@tapufd
Copy link

tapufd commented Sep 11, 2020

See discussion first on your discourse:
https://discourse.linuxserver.io/t/abc-user-member-of-several-groups-ids-in-the-container/2024/3

What I finally need is to have the abc-user member of several groups (IDs) in the container.
For example PGID=1001;1002;1003
The first one 1001 would be used as GID, but the others 1002 1003 would then be extra groups the abc-user is member of.
By this I can decide in detail what the user abc has rights to…
Or have an extra variable besides PGID by which I can define the extra group memberships of the abc-user.

I think the file in question that actually does the work is:
https://github.com/linuxserver/docker-baseimage-ubuntu/blob/bionic/root/etc/cont-init.d/10-adduser

I was asked to continue the discussion here...
/T

@project-bot project-bot bot added this to To do in Issue & PR Tracker Sep 11, 2020
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the issue template!

@tapufd
Copy link
Author

tapufd commented Sep 11, 2020

linuxserver/docker-baseimage-alpine#56
Solution works great.

@tapufd tapufd closed this as completed Sep 11, 2020
Issue & PR Tracker automation moved this from To do to Done Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant