ChangePassword Script (Scheduler)¶
change_password updates the password of the local-based authentication of Scheduler. 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 the Scheduler server.
-p <port>: port of the Scheduler server.
-l <login>: username of the local-based user account.
-P <password>: password of account.
-n <new password>: the new password.
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 8000 -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).