ChangePassword Script (Scheduler Index)¶
change_password updates the password of the local-based authentication of Scheduler Index. This script is
located in the directory
change_password -h <host> -p <port> -l <login> -P <password> -n <new password>
-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
Then, copy the output of this command and pass it as an argument of this parameter, with the prefix
encrypted. For example,
./change_password.sh -h localhost -p 9000 -l admin -P "admin" -n "encrypted:AGPPk7O+Q1JdNXAZv6Ea2vaMJblVZVwtYqNnd9ujfk0="
This command updates the password of the local-based authentication to
new_admin_password (in this example, we pass
this new password encrypted).