1GROUPMEMS(8) System Management Commands GROUPMEMS(8)
2
3
4
6 groupmems - administer members of a user's primary group
7
9 groupmems -a user_name | -d user_name | -l | -p | [-g group_name]
10
12 The groupmems utility allows a user to administer his/her own group
13 membership list without the requirement of super user privileges. The
14 groupmems utility is for systems that configure its users to be in
15 their own name sake primary group (i.e., guest / guest).
16
17 Only the super user, as administrator, can use groupmems to alter the
18 memberships of other groups.
19
21 The options which apply to the groupmems command are:
22
23 -a user_name
24 Add a new user to the group membership list.
25
26 -d user_name
27 Delete a user from the group membership list.
28
29 -p Purge all users from the group membership list.
30
31 -g group_name
32 The super user can specify which group membership list to modify.
33
34 -l List the group membership list.
35
37 The groupmems executable should be in mode 2770 as user root and in
38 group groups. The system administrator can add users to group groups to
39 allow or disallow them using the groupmems utility to manage their own
40 group membership list.
41
42 $ groupadd -r groups
43 $ chmod 2770 groupmems
44 $ chown root.groups groupmems
45 $ groupmems -g groups -a gk4
46
47
49 /etc/group
50 Group account information.
51
52 /etc/gshadow
53 secure group account information
54
56 chfn(1), chsh(1), passwd(1), groupadd(8), groupdel(8), useradd(8),
57 userdel(8), usermod(8).
58
59
60
61System Management Commands 07/30/2006 GROUPMEMS(8)