Change Password Script (VDP)¶
The script change_password
updates the password for a local VDP user. This script is
located within the file <DENODO_HOME>/tools/db/denodo-db-tools.zip
.
change_password -h <host> -p <port> -l <login> -P <password> -n <new password>
-h <host>
: host name of VDP server.
-p <port>
: port of VDP server.
-l <login>
: username of the user account which password will be changed.
-P <password>
: current password of the user.
-n <new password>
: the new password for the user.
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:Gr16MjvuXhRzPtPH/yTXHw==
.
./change_password -h localhost -p 9999 -l userA -P encrypted:/IN4bU65XBHEg8oD+SyWkCk4Lh9wWtJvGPkyu1MChU8+W7gotUFG53CrLNen1R2Gc7zXSDzwNhwBsUCEqWlPsx4ntaIsfa3E4eAZeDhqWQqtxSdWb9qf5eIuhFCDB1lH
-n encrypted:iioPkS32TxGoDY4109Lp0Q+3cthzbucMejXaxmd6Q9gJjF67hmZTphzE2igCF8BKrAbVV/1GmylhTr0712cTye7DvA/5VKTEjMAFv+/XaGQkAYLAP4KD1fZ3KGae797G
This command updates the password of VDP user userA
to newPasswA
(in this example, we pass this new password encrypted).