# ...
# User alias specification
User_Alias JOB_SERVER = jerry
# Cmnd alias specification
Cmnd_Alias RUN_JOB = /bin/ps, /usr/bin/java, /bin/sh, /bin/grep, /bin/kill
# ...
# Add after the line: %sudo ALL=(ALL:ALL) ALL
JOB_SERVER ALL=(jules,jim) NOPASSWD: RUN_JOB
In this example, it is assumed that user jerry will start
Talend JobServer
and Tasks may need to run under the existing users, jules and
jim.
The Talend JobServer
process started by jerry will need to be able to execute the
following commands as jules or jim:
/bin/ps
/usr/bin/java
/bin/sh
/bin/grep
/bin/kill
For security reasons, do not allow more commands.