The Talend Administration Center web application allows you to run tasks as different UNIX system users, through the Run As option. To avoid errors when starting the task on the server, you need first to:
-
give specific permissions to some server directories.
-
give necessary authorizations to the directories and files created by Talend JobServer by configuring the umask.
-
define the Operating System users allowed to run tasks from the server.
Tip: By default, the username must start with a lower-case letter froma
toz
, followed by a combination of lower-case letters (a
toz
) and numbers (from0
to9
). To allow using characters other than those letters and numbers, you need to modify the regular expression^[a-z][-a-z0-9]*\$
in the value of theorg.talend.remote.jobserver.server.TalendJobServer.RUN_AS_USER_VALIDATION_REGEXP
parameter in the file {Job_Server_Installation_Folder}\agent\conf\TalendJobServer.properties. For example:- To define a username pattern that should include a dot, like
firstname.lastname
, modify the regular expression to^[a-z][-a-z0-9]*.[a-z][-a-z0-9]*\$
. - To allow using one or more underscores (
_
) in the username, modify the regular expression to^[a-z][-a-z_0-9]*\$
.
- To define a username pattern that should include a dot, like
For more information on this feature, see the Talend Administration Center User Guide.