ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Missing setuid permissions

book

Article ID: 240449

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

The following error is returned while running commands to control the autosys services (unifstat, unisrvcntr, unicntrl, unishutdown, unifstat, unishutdown, unicycle, unistart ..etc)

$ unifstat

ERROR - Cannot set the effective uid to 0
Please make sure "AUTOSYS_CSUTILS/bin/assrvc" has Set-Uid permissions.

Cause

The error is due to missing required setuid permissions on the file specified

Environment

Release : 12.0

Resolution

From the error, AUTOSYS_CSUTILS is the place "csutils" are installed. The variable is sourced in most of the installations by default.

In case it is not found, check the path "$AUTOSYS/csutils". The file "assrvc" is under $AUTOSYS_CSUTILS/bin/. The file must have special permission (set-uid) with the ownership under root.

-rwsr-xr-x. 1 root root 123112 Nov 29  2020 /opt/CA/WorkloadAutomationAE/autosys/csutils/bin/assrvc