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.
&
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
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
>
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
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
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
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
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
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
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
10 matches
Mail list logo