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
We recommend that you use the XUSER tool directly instead of using this DBM option.
You have stored the user name and password of a valid database user under the DEFAULT user key.
-ux <default_user_name>,<default_user_password>
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 |
>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
>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
Utilities, XUSER