Can my unix job run under a different user id than the one used to start the agent?

Document ID : KB000053150
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

I have an application on a UNIX box, which uses OS user id AAA. My dSeries agent starts with OS user id DDD. Can dSeries launch my app using AAA or am I limited to using DDD?

Solution:

Job can only run using other OS user id when agent starts with superuser (root). If agent starts with other user id than root, all the jobs can only be submitted with that user.