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

Portability: adding new secondary groups to a user account #187

Open
jimklimov opened this issue Dec 15, 2017 · 0 comments
Open

Portability: adding new secondary groups to a user account #187

jimklimov opened this issue Dec 15, 2017 · 0 comments

Comments

@jimklimov
Copy link
Member

jimklimov commented Dec 15, 2017

Current solution relies on usermod -G $grpname -a $username (notably -a -- which does not exist in all system toolkits).

If time comes, fix this to use a new helper script with a more complex but portable solution to find all the secondary groups the user is a member of, and pass the standard usermod -G $grp,name,list $username command. Scripting elements can be found in setup/10-bios-gpio.sh scriptlet.

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

No branches or pull requests

1 participant