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

Document ID : KB000087920
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
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
Environment:
OS: Unix
OS Version: N/A
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.
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