How to run Unix Job as root from AE

book

Article ID: 87488

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
U2000029 Cannot start job with User ID 'root'.

How to run a UNIX Job from the Automation Engine as the root user.

Sometimes due to complicated privileges, it is necessary to test a UNIX job running from the root user.  However, the system will not allow you to use the root user.

By default the system will not let you run the job with user root and if you try to you will see an error message similar to the one above.



 

Cause

Configuration:
Running jobs from AE as the root user is not available by default

Environment

OS: All Linux/Unix

Resolution

To start a job with "root" change the ucxjxx.ini file and un-comment root= START.

Then restart the agent and the Job can run using the root user.
 

[USERID]
 
; access to normal user requires:
; - allowed (only these are allowed):
;   - [GLOBAL] - userid_type=INCL
;   - [USERID] - userid=START
; - not allowed (all other userids are allowed):
;   - [GLOBAL] - userid_type=EXCL
;   - [USERID] - userid=NO_START
; uc4=  NO_START
 
; - access for root user requires:
;   - [USERID] - root=START
root=  START