Re: [staf-users] start procee with different user on RH4 server

2008-10-10 Thread Sandy Young
oc is started to allow it to "Replace a process level > token" and re-login as that user (and start STAFProc again). > > If this is still not working for you, please provide a detailed > reproduction scenario including the exact STAF commands you are executing. &

Re: [staf-users] start procee with different user on RH4 server

2008-10-08 Thread David Bender
the env command to show the environment variables used by the process: STAF local PROCESS START SHELL "su - %u -c %C" COMMAND env RETURNSTDOUT STDERRTOSTDOUT USERNAME user1 ---------------------- Sharon Lucas IBM Austin, [EMAIL PROTECTED] (512

Re: [staf-users] start procee with different user on RH4 server

2008-10-08 Thread Sandy Young
ng the env > command to show the environment variables used by the process: > > STAF local PROCESS START SHELL "su - %u -c %C" COMMAND env RETURNSTDOUT > STDERRTOSTDOUT USERNAME user1 > > -- > Sharon Lucas >

Re: [staf-users] start procee with different user on RH4 server

2008-10-07 Thread David Bender
y Young" <[EMAIL PROTECTED]> 10/06/2008 10:34 PM To Sharon Lucas/Austin/[EMAIL PROTECTED] cc staf-users@lists.sourceforge.net Subject Re: [staf-users] start procee with different user on RH4 server Thank you all very much! Now I can run shell command as another user with associate

Re: [staf-users] start procee with different user on RH4 server

2008-10-06 Thread Sandy Young
nment variables used by the process: > > STAF local PROCESS START SHELL "su - %u -c %C" COMMAND env RETURNSTDOUT > STDERRTOSTDOUT USERNAME user1 > > -- > Sharon Lucas > IBM Austin, [EMAIL PROTECTED] > (512) 838-8347 or Tieline 678-8347 > > > > *"Sandy Yo

Re: [staf-users] start procee with different user on RH4 server

2008-10-06 Thread Sharon Lucas
2) 838-8347 or Tieline 678-8347 "Sandy Young" <[EMAIL PROTECTED]> 10/06/2008 04:47 AM To staf-users@lists.sourceforge.net cc Subject Re: [staf-users] start procee with different user on RH4 server Hi, I follow your suggestion and try again, and make it successful to r

Re: [staf-users] start procee with different user on RH4 server

2008-10-06 Thread David Bender
12-838-1268) IBM Austin Bldg. 903-5B002 Internet: [EMAIL PROTECTED] "Sandy Young" <[EMAIL PROTECTED]> 10/06/2008 04:47 AM To staf-users@lists.sourceforge.net cc Subject Re: [staf-users] start procee with different user on RH4 server Hi, I follow your suggestion and try

Re: [staf-users] start procee with different user on RH4 server

2008-10-06 Thread Sandy Young
Hi, I follow your suggestion and try again, and make it successful to run shell command with another user. The reason why I failed last time is that I didn't start staf with root user. Thank you very much! But how about my second question? I want to run shell command with a different user and its

Re: [staf-users] start procee with different user on RH4 server

2008-10-04 Thread David Bender
Do you have the following line in the STAF.cfg file on the system where you are trying to start the process: SET PROCESSAUTHMODE none The following command will tell you whether the Process Auth Mode is None on the system: STAF local PROCESS LIST SETTINGS Note that you must set the PROCE

Re: [staf-users] start procee with different user on RH4 server

2008-09-28 Thread Javier Collado
Hello, Maybe the problem is that the ability to launch a process with a different user is disabled by default. However, you may change PROCESSAUTHMODE variable in your STAF.cfg configuration file to enable it. From the user's guide SET PROCESSAUTHMODE : << * DISABLED - This indicates that the