Change Password Script (Data Catalog)

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

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

-h <host>: host name or IP address of Web Container.

-p <port>: port of Web Container.

-P <password>: password of this user account.

-n <new password>: the new password.

-https: option that allows to use HTTPS instead of HTTP.

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==.

./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).