Background documentation-ux: Logging on to the XUSER Program Locate this document in the navigation structure

 

In Database Manager CLI, use the DBM option -ux to log on to the XUSER program with the data stored under the DEFAULT user key.

You can use this DBM option together with the DBM options for changing (-us) or deleting (-ud) XUSER entries, and to display the user data stored in the XUSER program (-ul).

Recommendation Recommendation

We recommend that you use the XUSER tool directly instead of using this DBM option.

End of the recommendation.

Prerequisites

You have stored the user name and password of a valid database user under the DEFAULT user key.

Structure

-ux <default_user_name>,<default_user_password>

Options

Option

Description

<default_user_name>

Name of the user stored under the DEFAULT user key

<default_user_password>

Password of the user stored under the DEFAULT user key

Example

Changing an Existing XUSER Entry

>dbmcli -ux <default_user_name>,<default_user_password> -uk <user_key> -us <new_user_name>,<new_user_password> [options]

Call Database Manager CLI, log on as the user BORIS with the password PINK (stored under the DEFAULT user key), specify the XUSER entry to be changed with the user key DAKEY, specify the new user name MONA and password RED:

>dbmcli -ux BORIS,PINK -uk DAKEY -us MONA,RED

Deleting an Existing XUSER Entry

>dbmcli -ux <default_user_name>,<default_user_password> -uk <user_key> -ud

Call Database Manager CLI, log on as the user BORIS with the password PINK (stored under the DEFAULT user key), specify the XUSER entry to be deleted with the user key DAKEY, specify the DBM option –ud to delete this entry:

>dbmcli -ux BORIS,PINK -uk DAKEY -ud

More Information

Utilities, XUSER