10 More Discussions You Might Find Interesting
I am trying to enable rexec to automate certain tasks(it has to be rexec, not ssh or any other due to the system environment), so after switching to linux, I followed the certain instructions that were laid out in the web.
My operating system is fedora 17, so I first installed the... (1 Reply)
Discussion started by: wringer
Rexec executes commands one at a time on a remote host. The rexec command provides an automatic login feature by checking for a $HOME/.netrc file. User and password are stored
I would like to log on to another host and execute a script/command but not using $HOME/.netrc file,... (4 Replies)
Discussion started by: ioniCoder
3. UNIX for Dummies Questions & Answers
how do i/is there a way to return the exit code from the remote host?
echo $? from the local host only gives 0, if the rexec command itself executes successfully. But what if in the case of the remote command failiing? echo $? on the localhost still gives 0, but I'm interested in the exit code... (4 Replies)
Discussion started by: diego_sapphire
4. Shell Programming and Scripting
I would like to do a rexec to execute a C exe (prog.e) :
rexec -l user -p password host prog.e
When I execute this command, I have this error :
prog.e : can not find lib.o
But, When I execute prog.e directly in the remote machine : well done ! No error output.
Thks for your... (4 Replies)
Discussion started by: Lika
5. UNIX for Advanced & Expert Users
Hi UNIX gurus.....
have a doubt..can i run a script in a remote machine by using something like
rexec add.corp.afg.com /aa/ss/remtescript
I dont want to use the rsh command due to some security issues.
rahul26 :) (2 Replies)
Discussion started by: rahul26
6. UNIX for Advanced & Expert Users
Could some one help me please with one problem?
In one process (on aix) I should run some remote scripts on other server via rexec.
Some scripts should be run on server1 under useridA, and some scripts should be run on the same server under useridB.
I specified in .netrc... (10 Replies)
Discussion started by: Anta
How is rexec enabled on a Solaris 8?
How can I check if rexec is installed? (1 Reply)
Discussion started by: pmj1970
8. UNIX for Dummies Questions & Answers
Can someone tell me how I would enable Rexec on a UNIX machine? And is the procedure different on the different systems - Solaris, HP-UX -etc.
mike (1 Reply)
Discussion started by: raichuu
I'm trying to make a reconnection algorithm using rexec(), but I noticed that when rexec() fails returning -1, it is impossible to make it run successfully again until you restart the program or the thread.
Example, I have a endless loop for connection retries, if I supply a wrong... (7 Replies)
Discussion started by: lcmoreno
10. UNIX for Dummies Questions & Answers
there is one statement called expect.
but when I issue command whereis expect, respond from o/s only EXPECT: (only one world).
I try to find it at /usr/bin, no expect statement there ?
is it default unix o/s command ?
I am using AIX on... (1 Reply)
Discussion started by: yatno