Defining the list of users allowed to run tasks as different users
To control which operating system users can be impersonated during Job execution, use the RUN_AS_ALLOWLIST parameter. This allowlist restricts Talend JobServer to only impersonate users explicitly listed in the configuration.
About this task
When a Job execution request specifies an operating system user to impersonate:
- If the user is in the allowlist: Talend JobServer creates a process on behalf of that user and executes the Job under that user's operating system privileges.
- If the user is not in the allowlist: Talend JobServer rejects the execution request and fails with an authorization error.
This mechanism prevents unauthorized or malicious requests from attempting to execute Jobs as privileged operating system users (such as root or other system accounts).
Information noteTip:
If the allowlist is empty, only Job executions without impersonation work normally. Any attempt to impersonate a user is rejected. If you set RUN_AS_ALLOWLIST=anybody, any operating system user is allowed to impersonate.