How to grant access to start and stop the CA services to a non-root user.
book
Article ID: 22075
calendar_today
Updated On:
Products
CA Directory
CA Workload Automation AE - Business Agents (AutoSys)
CA Workload Automation AE - Scheduler (AutoSys)
Workload Automation Agent
Issue/Introduction
Issue:
How to grant access to start and stop the CA services to a non-root user, via unisrvcntr.
Environment
Autosys Workload Automation 11.3.x , r12.0
Resolution
In order to grant users access to use the unisrvcntr command to start and stop the CA Services, follow these steps:
- Login as root or su to root
- Go to your ../SharedComponents/csutils/bin directory
- For example, this command will add the user: autosys to be able to stop and start ALL the CA Services:
unisrvcntr useradd --name=autosys all
The usage is as follows:
unisrvcntr useradd --name=<OS_USER> <service name or all>
You can specify individual services. Example:
unisrvcntr useradd --name=autosys CA-cci CA-wcc
- Logoff root and login as the user. You should be able to start and stop the ca services.
Feedback
thumb_up
Yes
thumb_down
No