ChangePassword Script (Scheduler Index)¶
The change_password
script updates the password of the local-based authentication of Scheduler Index. This script is
located in the directory <DENODO_HOME>/tools/arn-index
.
change_password [-i] -h <host> -p <port> -l <login> -P <password> -n <new password>
-i
: Optional. Activates interactive mode. When interactive mode active, all parameters that are not passed as arguments will be requested by prompt.
-h <host>
: host name or IP address of Scheduler Index.
-p <port>
: port of Scheduler Index.
-l <login>
: login name to connect.
-P <password>
: password of this user account.
-n <new password>
: the new password of local account.
You can encrypt both passwords with the command <DENODO_HOME>/tools/arn-index/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.sh -h localhost -p 9000 -l admin -P "admin" -n "encrypted:wj8lN8TDVPzmFOCplpoUt7uCYVSVA01emJwR27MWPwHtuSek1Ds0FAo5GOFIoFXwpvq5s9mNtzLwnAq8T8RAReA4FfG4pUwYs6ZxrWYGNtoZTGxyvIGXtlDWTZ6Rs6J51DWMfD63ZkoBzEbtF63AMQ=="
This command updates the password of the local-based authentication to new_admin_password
(in this example, we pass
this new password encrypted).