User and Command-Line Runner with Linux Build Agent

I'm trying to run a build agent on a linux machine for use with a build config in TeamCity that uses a command-line runner to execute a python script that does the build.  The problem is that the python script runs a make and this make file is very much dependent on the user who started the process.

So my question is this: Is there a way to start a command-line runner as a particular user on linux?     

2 comments
Comment actions Permalink

how about su?

0
Comment actions Permalink

Yeah.  I wasn't sure if there was a way to have the build agent setup the environment itself. Thanks.          

0

Please sign in to leave a comment.