This command modifies an existing group. Omitted arguments preserve current values
Table 13–9 Arguments and Result for the udb.g.mod Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
ID |
[R] |
GroupID |
The group ID |
n |
[O] |
String |
The new group name |
d |
[O] |
String |
The new group description |
hostWrite |
[O] |
Boolean |
Whether the new group has write permission on hosts |
notRuleWrite |
[O] |
Boolean |
Whether the new group has write permission on notification rules |
adminWrite |
[O] |
Boolean |
Whether the new group has write permission on ``admin: users and groups'' |
diffWrite |
[O] |
Boolean |
Whether the new group has write permission on comparisons |
diffRun |
[O] |
String |
The hostSet ID for which the new group has execute permission for comparisons. An empty value removes the execute permission on any hostsets. To set this permission for ``all'' hostsets, clients use the ``allhosts'' sentinel value. |
ua |
[O] |
UserArray |
The new group users |
pga |
[O] |
GroupArray |
The new group parent groups |
cga |
[O] |
GroupArray |
The new group child groups |
result |
Group |
The modified group |