Newbie here,
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)
Hi,
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)
Hello all,
Ok. Here it the scope I have two Redhat 7.2 machine which I use to test things on. I have a home directory which is NFS mounted via NIS. I have a .rhosts file in the directory with the name of the machine and username, with permission 600. Be when I try to run a rsh command I get... (6 Replies)
Hi ,
reading a "file1" with 2 data in each line (VAR1 and VAR2) , i'm using a while loop like this :
cat file1|awk '{print $1,$2}'|while read VAR1 VA2
do
echo $VAR1
echo $VAR2
done
as this example shows , it works but if between do and done i use
a "rsh" command , the script reads... (6 Replies)
Hello,
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)
On a SUN cluster (ksh - Solaris 8 SPARC) I run a script which at some time has to perform a rsh command on the alternate node but with some other user (let's say "oper") so it should be like:
rsh su - oper -c APP_COMMAND -paramters
When I run the script APP_COMMAND is done but without taking... (2 Replies)
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)
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)
Hello guys, I have a script in a Linux server, from where I go to 3 Sun servers and run process.
Now i have done an upgrade and increase 1 Sun server more, now i need to run the shell in the Linux Server (into the shell is rsh command), but when i try to do ir with the new Sun server, i hace the... (3 Replies)
Hi
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
4 Replies
LEARN ABOUT SUSE
rsh
RSH(1) BSD General Commands Manual RSH(1)NAME
rsh -- remote shell
SYNOPSIS
rsh [-Kdnx] [-k realm] [-l username] host [command]
DESCRIPTION
Rsh executes command on host.
Rsh copies its standard input to the remote command, the standard output of the remote command to its standard output, and the standard error
of the remote command to its standard error. Interrupt, quit and terminate signals are propagated to the remote command; rsh normally termi-
nates when the remote command does. The options are as follows:
-K The -K option turns off all Kerberos authentication.
-d The -d option turns on socket debugging (using setsockopt(2)) on the TCP sockets used for communication with the remote host.
-k The -k option causes rsh to obtain tickets for the remote host in realm instead of the remote host's realm as determined by
krb_realmofhost(3).
-l By default, the remote username is the same as the local username. The -l option allows the remote name to be specified. Kerberos
authentication is used, and authorization is determined as in rlogin(1).
-n The -n option redirects input from the special device /dev/null (see the BUGS section of this manual page).
-x The -x option turns on DES encryption for all data exchange. This may introduce a significant delay in response time.
If no command is specified, you will be logged in on the remote host using rlogin(1).
Shell metacharacters which are not quoted are interpreted on local machine, while quoted metacharacters are interpreted on the remote
machine. For example, the command
rsh otherhost cat remotefile >> localfile
appends the remote file remotefile to the local file localfile, while
rsh otherhost cat remotefile ">>" other_remotefile
appends remotefile to other_remotefile.
FILES
/etc/hosts
SEE ALSO rlogin(1), kerberos(3), krb_sendauth(3), krb_realmofhost(3)HISTORY
The rsh command appeared in 4.2BSD.
BUGS
If you are using csh(1) and put a rsh in the background without redirecting its input away from the terminal, it will block even if no reads
are posted by the remote command. If no input is desired you should redirect the input of rsh to /dev/null using the -n option.
You cannot run an interactive command (like rogue(6) or vi(1)) using rsh; use rlogin(1) instead.
Stop signals stop the local rsh process only; this is arguably wrong, but currently hard to fix for reasons too complicated to explain here.
Linux NetKit (0.17) August 15, 1999 Linux NetKit (0.17)