Entering content frame

Procedure documentation user_put Locate the document in the library structure

Use

You can change the DBM operator properties and server authorizations of DBM operators and of the database system administrator.

Caution

See Conventions for User Names and Passwords.
The database system automatically converts passwords for DBM operators into upper-case letters.

Prerequisites

·        You have the server authorization UserMgm.

·        If you want to change the password of the database system administrator, the database instance must be in the ONLINE operational state.

Syntax

user_put <user_name> <property_definition>

<property_definition> :: = <property_spec> | <property_spec_list>

<property_spec> :: = <property>=<value>

<property_spec_list> :: = <property>=<value_list>

<value_list> :: = <property>=<value,value,...>

Options

Option

Description

<user_name>

Name of a Database Manager operator or database system administrator whose properties are to be changed.

<property>

Property of operator. The possible values are:

PASSWORD: Operator password

COMMENT: Description

SECONDPASSWORD: Second operator password

DISABLED: Operator is blocked

SERVERRIGHTS: Server authorization.

<value>

Value of the property allocated.

Possible values for DBM operator properties PASSWORD, COMMENT und SECONDPASSWORD values can be chosen at random.

Possible values for DISABLED: YES | NO
YES: Operator is blocked
NO: Operator is not blocked

Possible values for SERVERRIGHTS: see Server authorizations
Insert a plus sign before the server authorization to assign it and a minus sign to revoke it. When specifying several server authorizations, values should be separated by commas.

Reply

OK

In the event of errors, see Reply Format

Example

Logging on to the Database Manager CLI as DBM operator with the name  OLEG and the password MONDAY, connecting to the database instance  DEMODB, changing the operator password for the DBM operator with the operator name  ELENA to the value SATURDAY, assigning server authorization for starting database instances and revoking server authorization for stopping database instances:

>dbmcli –u OLEG,MONDAY –d DEMODB user_put ELENA PASSWORD=SATURDAY SERVERRIGHTS=+DBStart,-DBStop

OK

 

 

Leaving content frame