I have a test script that was created and is owned by a user called **novatest**. iTest was installed by **novatest** and the files are owned by **novatest** but the script is run using the CLI by individual users as themselves. In our script we are making use of a Process session to move some files around and specifically to move files into the executing user's /tftpboot directory. It appears that the script is running the Process session as the **novatest** user instead of the user that executed the script thus making the script effectively a setuid executable. Is this correct behaviour? How can I run an external process on the local machine as the user that kicked off the script instead of the user that owns the script?
I think you'll find everything a lot simpler if you use itestrt rather than itestcli. itestrt will execute using the privileges of whatever user runs its. To use itestrt, you need to build ITARs for the iTest projects containing test cases and other supporting files required for whatever test you need to execute. If you need help with doing that, let us know.
Yes, it is the regular behaviour of iTest because when you have captured the test case it is created with "novatest" and taking the default path. If you want to change the paths for respative users go to test case open step and Process session property and specified the new paths. Another way: You could use use varibales in the session property to come out of this behaviour. Hope this will help you!!