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.
Release : 12.0
The error is due to missing required setuid permissions on the file specified
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