Linux user and group management commands
How to See Which Groups Your Linux User Account Belongs To?
How to add a new group?
How to add user to a group?
usermod -a -G
Change a User’s Primary Group
While a user account can be part of multiple groups, one of the groups is always the “primary group” and the others are “secondary groups”. The user’s login...