Running agent on linux as different user

Hi,

I'm new to the forums and to TeamCity, so hello to everybody out there.

I'm running into a problem where a junit test of mine is failing because the agent is running as root.  I did not initially set up this agent, but have been tasked with fixing it.  Is there anyway that I can modify the service to run as something other than root?

Thanks in advance!

Ryan

1 comment
Comment actions Permalink

I suppose you could install this agent under some user home directory and start it under this user from the service script with help of su command.

0

Please sign in to leave a comment.