1CDIST-TYPE__USER_GROUPS(7) cdist CDIST-TYPE__USER_GROUPS(7)
2
3
4
6 cdist-type__user_groups - Manage user groups
7
9 Adds or removes a user from one or more groups.
10
12 group the group to which this user should be added or removed. Can be
13 specified multiple times.
14
16 user the name of the user. Defaults to object_id
17
18 state absent or present. Defaults to present.
19
21 __user_groups nginx --group webuser1 --group webuser2
22
23 # remove user nginx from groups webuser2
24 __user_groups nginx-webuser2 --user nginx \
25 --group webuser2 --state absent
26
28 Steven Armstrong <steven-cdist--@--armstrong.cc>
29
31 Copyright (C) 2012 Steven Armstrong. You can redistribute it and/or
32 modify it under the terms of the GNU General Public License as pub‐
33 lished by the Free Software Foundation, either version 3 of the
34 License, or (at your option) any later version.
35
37 ungleich GmbH 2020
38
39
40
41
426.9.4 Dec 21, 2020 CDIST-TYPE__USER_GROUPS(7)