Re: [staf-users] [STAF] Starting a process under a different user on UNIX

2008-07-14 Thread Ahmed Mostafa
pment > 8-1268 (512-838-1268) > IBM Austin Bldg. 903-5B002 > Internet: [EMAIL PROTECTED] > > > > *"Ahmed Mostafa" <[EMAIL PROTECTED]>* > Sent by: [EMAIL PROTECTED] > > 07/14/2008 02:38 AM > To > STAF , David Bender/Austin/[EMAIL > PROTECTED]

Re: [staf-users] [STAF] Starting a process under a different user on UNIX

2008-07-14 Thread David Bender
Bender/Austin/[EMAIL PROTECTED] cc Regine Lang <[EMAIL PROTECTED]> Subject Re: [staf-users] [STAF] Starting a process under a different user on UNIX Both staf local PROCESS Start Shell Command whoami Wait UserName test Password test_password ReturnStdOut and staf local P

Re: [staf-users] [STAF] Starting a process under a different user on UNIX

2008-07-14 Thread Ahmed Mostafa
Both > staf local PROCESS Start Shell Command whoami Wait UserName test Password > test_password ReturnStdOut > and > staf local PROCESS Start Shell Command whoami Wait UserName test > ReturnStdOut > return root! And, isn't there a method to know that user's home directory (/home/test)? as I don

Re: [staf-users] [STAF] Starting a process under a different user on UNIX

2008-07-13 Thread David Bender
The USERNAME/PASSWORD values for the PROCESS START request are the usernames and passwords from the operating system. I believe your process is actually running under the specified (non-root) userid; however, on Unix machines, the environment variables for the user are not set for the process