Change Password Script

The script change_password_data_catalog updates the password of the Data Catalog local user. This script is located within the file <DENODO_HOME>/tools/webadmintool/denodo-webadmintool-tools.zip.


Usage

change_password_data_catalog -h <host> -p <port> -P <password> -n <new password> [-https]
Parameters of the change_password_data_catalog script

Parameter Name

Description

-h

Hostname or IP address of the Data Catalog

-p

Port of the Data Catalog. By default it is 9090

-P

Current password of the local user account

-n

The new password

-https

Option to connect with a SSL/TLS channel

You can encrypt both passwords with the command <DENODO_HOME>/bin/encrypt_password "<password>". Then, copy the output of this command and pass it as an argument of this parameter, with the prefix encrypted. For example, -P encrypted:xd7o6/xZuNwWvg1YGNuz9g==.


Example

./change_password_data_catalog.bat -h localhost -p 9090 -P "admin" -n "encrypted:t4TUiIbaypRLAS8Fv/itZ60mrPG4lkTAOvSRtjyKSnX7MtBc2zIsKisvl/2ad672Tf/d3XP2yN/zBdbULGF/MQwz7vWQsgSrdr3GLtnLMZ/AiprdhMz/7v3RkdDpV5Ht"

This command updates the password of the Data Catalog to new_password. In this example, we pass this new password encrypted.