Previous Topic: group put (Group Management)--Replace a Local Group's Description and Entire MembershipNext Topic: group modify_newobj_acl (Group Management)--Modify New Object ACL Definition


group modify (Group Management)--Replace a Local Group's Description or Membership

Replace a local group's description or membership.

Syntax
group modify <name> [ description=<val> ] [ +/-<principal1> ... +/-<principalN> ]
Parameters
<name>

Name of the local group.

description=<val>

Group description.

+<principal>

Add the principal to the group if it is not already a member. <principal> is in the following form:

<name>

Local user or group.

/<name>

Global user or group.

<scope>:<type>:<name>

A fully qualified principal name where <scope> is 'global' or 'local', <type> is 'group' or 'user', and <name> is the group or user name.

-<principal>

Remove the principal from the group.

Examples
group modify my-group +local:user:admin

Add local user 'admin' to the local group 'my-group'.

group modify my-group +admin

Add global user 'admin' to the local group 'my-group'.

Notes