Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.4.1 | 



Adding CM Users

Description

The cm_admin adduser utility creates CM users who have specific authority and database information. The authority to configure broker privilege, create database, and monitor status) can be granted to CM users.

Syntax

cm_admin adduser options cmuser-name cmuser-password

options :

[{-b | --broker } authority]

[{-c | --dbcreate } authority]

[{-m | --monitor} authority]

[{-d | --dbinfo} database-info]

  • cm_admin : An integrated utility to manage CUBRID Manager
  • adduser : The command used to create a new CM user
  • options : The -b, -c, -m, and –d options are supported. For details, see its description and example.
  • cmuser-name : Specifies a unique name of a CM user to be created. The name should have at least 4 characters in length. If the specified cmuser-name is the same as the existing one, cm_admin halts the creation of a CM user.
  • cmuser-password : The password of a CM user. The password should have be at least 4 characters in length.
Options

Option

Description

-b
--broker

Specifies the broker authority of a CM user to be created.
- Value available : admin, none, monitor
- Default value : none

-c
--dbcreate

Specifies the database creation authority of a CM user to be created.
- Value available : none, admin
- Default value : none

-m
--monitor

Specifies the monitoring authority of a CM user to be created.
- Value available : admin, none, monitor
- Default value : none

-d
--dbinfo

Specifies the database information of a CM user to be created.
The format of DBINFO should be as follows: "<dbname>;<uid>;<broker_ip>,<broker_port>"

Configuring broker authority (-b)

The following example shows how to create a CM user "testcm" and its password "testcmpwd", and configure the value of broker authority to monitor.

cm_admin adduser -b monitor testcm testcmpwd

Configuring database creation authority (-c)

The following example shows how to create a CM user "testcm" and its password "testcmpwd", and configure the value of database creation authority to admin.

cm_admin adduser -c admin testcm testcmpwd

Configuring status monitoring authority (-m)

The following example shows how to create a CM user "testcm" and its password "testcmpwd", and configure the value of its status monitoring authority to admin.

cm_admin adduser -m admin testcm testcmpwd

Adding database information (-d)

The following example shows how to add database information "testdb;dba;localhost,30000" to a CM user "testcm".

cm_admin adduser -d "testdb;dba;localhost,30000" testcm testcmpwd