Skip to content

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

@jimklimov

Description

@jimklimov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions