ESP dSeries Workload Automation

 View Only
  • 1.  Who performs JOB in DE agent?

    Posted Aug 10, 2020 01:56 AM
    Hi members.
    - run agent process (cybAgent) as deadmin user (non-root user)
    - run a script (test.sh) as was user (non-root user) in JOB define (user ID : was / shell : /bin/bash)

    Questions)
    1) In this case, test.sh script is performed with which user? (deadmin or was user ?)

    2) Regarding the permission to execute and writeable, should deadim user be writeable in was directory?
    (was user naturally has writeable permission in WAS directory)

    3) In case of using was user to perform test.sh script,, Should I set the environment variable to .bash in was user?


  • 2.  RE: Who performs JOB in DE agent?

    Broadcom Employee
    Posted Aug 11, 2020 08:35 AM
    Hi,
    The agent will try to become user, but it will likely fail.  It will try to run the the test.sh as deadmin.  If the script has world execute or deadmin and user are part of same group then script may run.  If not then job will fail.  You can see these steps being done in the joblog, use 11.4 or 11.5.
    This is one of the main reason why agent should run as root, so it can always become the user in the job and run the command/script.


    HTH,
    Nitin Pande

    ------------------------------
    Support
    Broadcom
    Toronto
    ------------------------------