

Shell Commands › Group Management › group modify (Group Management)--Replace a Local Group's Description or Membership
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 global or 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
- The local group must exist.
- Specified local user and group principals must exist.
- Specified global user principals must have logged in to the grid at some time in the past.
- Specified global group principals must be associated to a global user who has logged in to the grid at some time in the past.
Copyright © 2011 CA.
All rights reserved.
 
|
|