Hi, Sharon:
Thank you for your reply, My problem is that i don't start STAFProc as root ,
i have fixed it .
But i meet another problem that those environment variables which be defined
in the executer user's .profile file have no effect.
For example , we define a variables 'TestDir' in ngbtst02's .profile file , and
run the follwing the command
staf 172.18.99.136 process start shell command 'echo $TestDir' username
ngbtst02 password ngbtst02 wait returnstdout returnstderr .
it will return "not found testdir' .
can you tell me how to let those varables defined for specify username have
effect.
thanks
2010-07-28
firelong7644
发件人: Sharon Lucas
发送时间: 2010-07-27 23:46:09
收件人: firelong7644
抄送: staf-users
主题: Re: [staf-users] STAF process authorized
This error is either occuring because:
1) STAFProc was not started as root on machine 172.18.20.136. You have to
start STAFProc as root in order to have the right authorization to be able to
run processes via STAF as another user.
or
2) No valid user id called ngbtst02 is defined on machine 172.18.20.136
I'm guessing it's because STAFProc was not started as root on machine
172.18.20.136. Start STAFProc as root on machine 172.18.20.136 and set the
PROCESSAUTHMODE to None and retry and it should work.
If it doesn't, please provide the following information:
What is the output from:
STAF 172.18.20.136 MISC LIST PROPERTIES
and
STAF 172.18.20.136 VAR LIST
Note that you do not have to specify the PASSWORD option on the PROCESS START
request as passwords are ignored on Unix systems when PROCESSAUTHMODE is set to
None.
Though this is not causing the RC 46 error.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
"firelong7644" <firelong7...@sohu.com>
07/27/2010 07:38 AM To"staf-users" <staf-users@lists.sourceforge.net>
cc
Subject[staf-users] STAF process authorized
Hi ,
I use Staf in our configure manage platform , now i meet a problem which i
don't call process service with username and password options and RC 46 error
be returned.
I first descript the env run the command .
System : Hp-unix
PROCESSAUTHMODE NONE
The following is the information about execute the command . Pls help find
the answer , very thank you .!
Dell2850-LX64B:/ngbss/Users/ngbdev06>staf 172.18.20.136 process set
PROCESSAUTHMODE NONE
Response
--------
Dell2850-LX64B:/ngbss/Users/ngbdev06>staf 172.18.20.136 process list settings
Response
--------
Default Stop Using Method : SigKillAll
Default Console Mode : New
Default Focus : Background
Process Auth Mode : None
Default Auth Username : <None>
Default Auth Password : <None>
Default Auth Disabled Action: Ignore
Default Shell : <None>
Default New Console Shell : <None>
Default Same Console Shell : <None>
Dell2850-LX64B:/ngbss/Users/ngbdev06>staf 172.18.20.136 process start shell
command ls workdir /ngbss/Users/ngbtst02 username ngbtst02 password r660tst02
DISABLEDAUTHISERROR wait returnstdout returnstderr
Error submitting request, RC: 46
Additional info
---------------
Error during process authentication for user name ngbtst02
2010-07-27
firelong7644
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users