Hi Sharon, Thanks. After disabling ProcessAuthMode on autorat2, it is working fine now :)
Hi Sharon, Thanks for your reply. I am still getting the error "Data : su: must be run from a terminal". I am using Ubuntu 16.04. $ STAF autorat2 PROCESS START SHELL "su - %u -c %C" COMMAND pwd USERNAME autotest WAIT STDERRTOSTDOUT RETURNSTDOUT Response { Return Code: 1 Key : <None> Files : [ { Return Code: 0 Data : su: must be run from a terminal } ] } I am getting correct output, if I do not use "su - %u -c %C". $ STAF autorat2 PROCESS START SHELL COMMAND pwd USERNAME autotest WAIT STDERRTOSTDOUT...
The issue I found is with setting up user environment with STAF. If I try to use: $ STAF remotehost PROCESS START SHELL "su - %u -c %C" COMMAND env RETURNSTDOUT STDERRTOSTDOUT USERNAME user1 I am getting error: Data : su: must be run from a terminal How to use "su" with "remotehost"?
Hi, I just installed STAF on two Ubuntu 16.04 machines and able to run command using "staf <remotehost> <service> <request>". But when I try to run gui application on remote host, it is throwing DISPLAY error. I am accessing both Linux machines through Putty (from windows client) with X11 forwarding enabled and also I have installed xming. Note that, if I run: $ staf local process start shell command "xclock" wait stderrtostdout returnstdout , it is working fine. But if i use: $ staf remotehost process...
Hi, I just installed STAF on two Ubuntu 16.04 machines and able to run command using "**staf <remotehost> <service> <request>"**. But when I try to run gui application on remote host, it is throwing DISPLAY error. I am accessing both Linux machines through Putty (from windows client) with X11 forwarding enabled and also I have installed xming. Note that, if I run: **$ staf local process start shell command "xclock" wait stderrtostdout returnstdout** , it is working fine. But if i use: $ staf remotehost...