What is a supplementary group and how do you make a supplementary group for members of a team? Thanks in advance.
---------- Post updated 05-10-11 at 12:09 PM ---------- Previous update was 05-09-11 at 10:08 PM ----------
anybody?
What is a supplementary group and how do you make a supplementary group for members of a team? Thanks in advance.
---------- Post updated 05-10-11 at 12:09 PM ---------- Previous update was 05-09-11 at 10:08 PM ----------
anybody?
You agreed not to bump posts when you registered here. If you don't get an answer immediately, wait -- nobody here is "on call".
Supplementary groups are extra groups a user belongs to, as stored in /etc/passwd. Users also have one and only one primary group. It's a bit redundant; I think it's for historical reasons.
You create a group with groupadd groupname .
You assign supplementary groups to a user with usermod -G group1,group2,... username Beware that this replaces their supplementary groups, not adds to them. Most Linux supports the -a flag though, which lets you add to their list of groups instead.