Previous Topic: group put (Group Management)--Replace a Local Group's Description and Entire MembershipNext Topic: Log Management


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 form <scope>:<type>:<name> where <scope> is local, <type> is user or group, and <name> is the user or group 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'.

Notes