There is a shell script on nolio agent and need a non-root user to execute it. Since, agent runs command with root user privileges, is there a way to execute a particular command with a non-root user?
did you try to go to the settings tab of the action and change the executing user there?
Yeah I tried and when I tried to run the process, the action couldn't be initiated.
Can you please share your action settings?
Did you check the requirements for running commands as another users?
Inputs
Command Line String: ksh -x test.ksh <param 1> <param 2>
Work Directory: /home/test/
Settings
Pause on failure: unchecked
Target OS: ANY
User name: testuser
Did you check the requirements document and the KB article?
Thanks
Jacky
Hi Imran,
The requirements that Jacky mentioned should definitely be done first. They can be found here:
Deploy Agents - CA Release Automation - 6.1 - CA Technologies Documentatio
If you experience problems after going through the requirements above then feel free to post here but also have a look at the KB article below since it lists several problems/solutions:
http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1759061.aspx
Regards,
Gregg