...
- Configure the Master password in a file on the Master in the
<master_data>/config/private
directory:- File name:
private.conf
The file should contain the following entry that specifies a plain text password
myjobscheduler4444
that is used by the Master to authenticate against Agents:Code Block jobscheduler.master.credentials.password = "myjobscheduler4444"
- File name:
- Specify the Master password in a file on the respective Agent in the directory
<agent_data>/config/private
- File name:
private.conf
Specify the Master that will authenticate with the Agent by its JobScheduler ID and password. For example, for two Masters with JobScheduler ID
scheduler_4444
andscheduler_5555
this file would look like this assuming that the Master password ismyjobscheduler4444
:Code Block jobscheduler.agent.auth.users { scheduler_4444 = "plain:myjobscheduler4444" scheduler_5555 = "sha512:9184ddcaa87eb2f95c32f12741035c1e55cef93f7834905f926c4bc419fbc5613e2e141d39fb05d0ec7c66c9bd9e4c8b95b74598e0107f863b7f2bd942a9aea0" }
- The For each entry the JobScheduler ID is used as key, the values includes value (in double quotes) includes the hash algorithm followed by a colon and the hashed password.
- Using
plain
for the hash alogrithm requires a plain text password to be specified. Use of plain text passwords is not recommended as they could be visible to jobs running on that Agent. - Using
sha512
for the hash alogithm requires a password that is hashed with the respective algorithm. A number of command line utilitiies to create a sha512 hash from a plain text password can easily be found.
- Using
- File name:
...