How to grant access to start and stop the CA services to a non-root user.
search cancel

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:

  1. Login as root or su to root

  2. Go to your ../SharedComponents/csutils/bin directory

  3. 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

  4. Logoff root and login as the user. You should be able to start and stop the ca services.