ChangePassword Script (Scheduler)¶
The change_password
script updates the password of the local-based authentication user admin
of Scheduler. This script is
located in the directory <DENODO_HOME>/tools/scheduler
.
change_password [-i] -h <host> -p <port> -l <login> -P <password> [-vdpauth] [-o <oldLocalPassword>] -n <newLocalPassword>
-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 the Scheduler server.
-p <port>
: Port of the Scheduler server.
-l <login>
: Login/Username to be used for authentication. If the option -vdpauth
is supplied, use a valid username from VDP server user account. By default, if the option -vdpauth
is not supplied, use username of the local-based Scheduler user account.
-P <password>
: Password to be used for authentication. If the option -vdpauth
is supplied, use a valid password from VDP server user account. By default, if the option -vdpauth
is not supplied, use password of the local-based Scheduler user account.
-vdpauth
: Optional. Performs authentication through VDP server. By default, if this option is not supplied, local-based authentication through Scheduler is performed.
-o <oldLocalPassword>
: Optional. The old local password of the local-based authentication admin
user. This option can only be used when using the -vdpauth
option.
-n <newLocalPassword>
: The new local password of the local-based authentication admin
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==
.
An example of running the ping command is shown below:
Example 1:
change_password -h localhost -p 8000 -l admin -P "admin" -n "encrypted:wj8lN8TDVPzmFOCplpoUt7uCYVSVA01emJwR27MWPwHtuSek1Ds0FAo5GOFIoFXwpvq5s9mNtzLwnAq8T8RAReA4FfG4pUwYs6ZxrWYGNtoZTGxyvIGXtlDWTZ6Rs6J51DWMfD63ZkoBzEbtF63AMQ=="
This command updates the password of the local-based authentication user admin
to new_admin_password
using local-based Scheduler user account (in this example, we pass this new password encrypted).
Example 2:
change_password -h localhost -p 8000 -l vdp_user -P vdp_user -vdpauth -o old_admin_password -n new_admin_password
This command updates the password of the local-based authentication user admin
to new_admin_password
using VDP server user account.