ESP Workload Automation

 View Only
Expand all | Collapse all

Need to run ESP Agent under different user account while it is installed under 'root'

  • 1.  Need to run ESP Agent under different user account while it is installed under 'root'

    Posted Aug 02, 2017 05:07 PM

    We have a requirement to run the ESP agent under a specific user account on a Linux server, which is installed and running under root so far. 

     

    Is it possible to start the ESP agent under a specific user account, though it is installed under 'root'. I kind of feel we will end up with permission issues. 

    'Or'

    A fresh installation of the agent needs to be made with that specific user account. This user account is an app ID that has all the authority to trigger the batch scripts and no other user account will be used on this server. 

     

    Details of the Agent:

    64 ESP Bit Agent on Linux Server

    OS (Linux for amd64)
    Release (R11.3)
    Build (717, Service Pack 4, Maintenance Level 0)

     

    Please advise 



  • 2.  Re: Need to run ESP Agent under different user account while it is installed under 'root'
    Best Answer

    Posted Aug 03, 2017 06:31 PM

    Hi Guna, 

    You are correct that if the directories/files are owned by root, the userid will not be able to write to the spool directory and the jobs will not run. 
    I recommend reinstalling the agent as the user. It is also possible to chgrp -R and chown -R to change all files and directories to the new userid.  The -R command makes it recursive so it will be done for all subdirectories.  Be careful with this approach.


  • 3.  Re: Need to run ESP Agent under different user account while it is installed under 'root'

    Posted Aug 03, 2017 10:31 PM

    Hi Guna,

    Also be reminded that the agent inherits the ulimits and umask of the user who starts it. One would need to customize the agent start up scripts to accommodate required limits. 

     

    Thanks,

    Chandru



  • 4.  Re: Need to run ESP Agent under different user account while it is installed under 'root'

    Posted Aug 14, 2017 06:10 PM

    Thanks, Chandru and Don for your valuable suggestions!!