Versions available for this page: CUBRID 8.4.0 |
The cm_admin changeuserauth utility is used to update the authority of the CM user.
cm_admin changeuserauth options cmuser-name
options :
[{-b | --broker} authority]
[{-c | --dbcreate} authority]
[{-m | --monitor} authority]
|
Option |
Description |
|---|---|
|
-b |
Specifies the authority of broker of the CM user. |
|
-c |
Specifies the authority of database creation of the CM user. |
|
-m |
Specifies the authority of monitoring of the CM user. |
Broker authority (-b)
The following example shows updating a CM user named “testcm” with the broker authority set to monitor.
cm_admin changeuserauth -b monitor testcm
Database creation authority (-c)
The following example shows updating a CM user named “testcm” with the database creation authority set to admin.
cm_admin changeuserauth -c admin testcm
Status monitoring authority (-m)
The following example shows updating a CM user named “testcm” with the status monitoring authority set to admin.
cm_admin changeuserauth -m admin testcm