The cm_admin changeuserauth utility changes authority of CM users.
cm_admin changeuserauth options cmuser-name
options :
[{-b | --broker} authority]
[{-c | --dbcreate} authority]
[{-m | --monitor} authority]
Option |
Description |
---|---|
-b |
Specifies the broker authority of a CM user. |
-c |
Specifies the database creation authority of a CM user. |
-m |
Specifies the monitoring authority of a CM user. |
Changing broker authority (-b)
The following example shows how to change the broker authority of a CM user "testcm" to monitor.
cm_admin changeuserauth -b monitor testcm
Changing database creation authority (-c)
The following example shows how to change database creation authority of a CM user "testcm" to admin.
cm_admin changeuserauth -c admin testcm
Changing status monitoring authority (-m)
The following example shows how to change status monitoring authority of a CM user "testcm" to admin.
cm_admin changeuserauth -m admin testcm