.bash_profile not executed after running a JOBS or JOBF with non-root Unix user with UID=0

book

Article ID: 87920

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
N/A

The .bash_profile is not run again after running a JOBF with non-root Unix user with UID=0.

Example:

The .bash_profile has the following content:
 
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/v11/.local/bin:/home/v11/bin:/home/v11/.local/bin:/home/v11/bin

When it is executed inside a Unix Job that has a non-root user with UID=0, it returns the following output:

PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/v11/.local/bin:/home/v11/bin

Cause

Cause type:
By design
Root Cause: Automic does not support shadow users. The only user with UID=0 has to be the root user.

Environment

OS: Unix
OS Version: N/A

Resolution

Use the root user as described in the documentation referenced below. 

For actual operation, the program ucxj??? can be given the permissions of a privileged user such as root.
  • Change owner to root --> chown root ucxj???
  • Set S-Bit (Set-Userid) --> chmod 4755 ucxj???


Fix Version(s):
N/A

Additional Information

Workaround :
N/A