10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to run a remote file (y.ksh) using rsh.
In this action i want to use an environment variable TOOL=/home/macc1
i am running the rsh from profile macc on server1.
rsh server2 -l macc1 "$TOOL/y.ksh"
but i can see that the executable command = /home/macc/y.ksh and not... (1 Reply)
Discussion started by: LiorAmitai
2. Shell Programming and Scripting
Does anybody know how to to return the exit code of a remote
command when using rsh?
I know that "rsh" has no built-in ability for that.
The echo $? is showing the results of the rsh command. Not the
remotely executed command.
I am trying to get the return code of psef command from... (4 Replies)
Discussion started by: aoussenko
I have a server which I've configured to allow an rsh trust from a csm server. However, of the 3 vlans on the target server, I can only rsh to one of them without being prompted for the password.
$ ifconfig -a
en2:... (1 Reply)
Discussion started by: m223464
we want to execute remote script via rsh (we just only should use rsh except others),but rsh command can not set environment variable for specify user, then scripts can not be executed correctly,anyone knows how to fix this problem? thanks. (8 Replies)
Discussion started by: Frank2004
5. UNIX for Dummies Questions & Answers
Hi, I am a beginner and i want to seek help
I want to use the rsh command.
Is there a possibility that i can do it without the system password
I am planning to make a csh script that could browse/copy files from diferent workstations.
thank you.... (5 Replies)
Discussion started by: wramonzon
6. Shell Programming and Scripting
I am trying to determine 2 things on a remote host.
1. Is file a directory or file
2. Does the file or directory exist
Not too familiar with "find" command although I believe that may be a possible way. I have tried:
remsh "$HOST" test -e /home/test.script && echo "yes"
This... (3 Replies)
Discussion started by: bestbuyernc
7. UNIX for Dummies Questions & Answers
I am using rsh and other R commands to login to a machine.
On that target machine, I set up $HOME/.rhosts file with the host/password.
I also setup /etc/hosts.equiv fiel with IP address/username.
I also made sure that rsh was enabled and that no firewall was running.
The /etc/hosts on... (7 Replies)
Discussion started by: etc
8. UNIX for Dummies Questions & Answers
I have a set of four machines. When i try to rsh between them i get errors like 'no route to host' and 'conection refused'. What do i need to do to rectify this problem..... i can ssh between the nodes ok but only if i supply a password.
Here is the output from my screen:
... (1 Reply)
Discussion started by: rkap
9. UNIX for Dummies Questions & Answers
I'm performing a data migration from an Ingres db to an Oracle db. The ingres database lives on a unix host running "UNIX(r) System V Release 4.0 (SunOS 5.5.1) ", while the Oracle database lives on another unix host running "SunOS 5.8".
Part of the migration is to remotely run Oracle's... (1 Reply)
Discussion started by: strpeski
10. UNIX for Dummies Questions & Answers
I want to add a line to our 3D rendering scripts that will
send an email to the animators once a scene has finished rendering. The 3D scripts are on the client hosts and the sendmail setup on the server.
I tried using a rsh line in the script as follows
rsh root@blah echo... (2 Replies)
Discussion started by: flamethrower