Hi, guys:
I want to use process service to start a shell command with another user
rather than current user,. Follow <STAF V3 User's Guide>, I think that such
a command may do that:
*staf local process start shell command whoami username yl password 123456
wait returnstdout returnstderr*
But it failed when execute this command. Below is error message:
*Error during process authentication for user name yl*
Somebody could tell me why?
I also get an infomation from
http://www.mail-archive.com/staf-users@lists.sourceforge.net/msg00219.htmlthat
even this command executes succcessed, all enviroment variables
associated with the new user will not be loaded automatically. But my shell
command depends on enviroment variables such as PATH and other. Is there any
way to make staf load enviroment variables automatically?
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users