1lgroupmod(1) General Commands Manual lgroupmod(1)
2
3
4
6 lgroupmod - Modify an user group
7
8
10 lgroupmod [OPTION]... group
11
12
14 Modifies the user group with name group.
15
16
18 -A, --admin-add=list
19 Add users in comma-separated list among group's administrators.
20
21
22 -a, --admin-remove=list
23 Remove users in comma-separated list from group's administra‐
24 tors. Removing users that are not currently among group's
25 administrators silently succeeds.
26
27
28 -g, --gid=gid
29 Change group's group ID to gid.
30
31
32 -i, --interactive
33 Ask all questions when connecting to the user database, even if
34 default answers are set up in libuser configuration.
35
36
37 -L, --lock
38 Lock group. This prevents users from using the group password
39 with newgrp(1) to become a member of group.
40
41
42 -M, --member-add=list
43 Add users in comma-separated list among group's members.
44
45
46 -m, --member-remove=list
47 Remove users in comma-separated list from group's members.
48 Removing users that are not currently among group's members
49 silently succeeds.
50
51
52 -n, --name=name
53 Rename group to name.
54
55
56 -P, --plainpassword=password
57 Set group's password to password. Note that the password can be
58 viewed while running lgroupmod using tools such as ps(1).
59
60
61 -p, --password=encrypted
62 Set group's password to the password represented by the hash
63 encrypted. Note that the hash can be viewed while running
64 lgroupmod using tools such as ps(1).
65
66
67 -U, --unlock
68 Unlock group.
69
70
72 The exit status is 0 on success, nonzero on error.
73
74
75
76libuser Jan 11 2005 lgroupmod(1)