09-02-2002
hi,
the local user who started the script is required to input details (passwords etc) into the perl script running on the remote system....
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Guys,
I'm having a problem trying to change to a different user within a script .
I want to change to a specific user and then run the subsequent commands using his previleges .
I remember having used ' su ' some years back for this , can't figure it out now !!
Help appreciated . (3 Replies)
Discussion started by: rahma
3 Replies
2. Shell Programming and Scripting
Hi,
a little help.
I need to test the return code of a list file command on a remote system (Unix) using the rsh command. More exactly, to test is a directory exists, I try the following command:
rsh $remoteHost "ls -la " $DirRemote
Now, if the $DirRemote is not correct and I test... (3 Replies)
Discussion started by: gio123bg
3 Replies
3. UNIX for Dummies Questions & Answers
Dear All,
I was wondering if there was any way that I could make RSH be non-blocking? i.e. make a remote connection to another machine and execute a function while being able to resume your program.
T (4 Replies)
Discussion started by: thoang
4 Replies
4. UNIX for Advanced & Expert Users
I am trying to perform a remote tape backup from one SCO openserver to another remote SCO Openserver which happens to have a tape drive configured.
I have added entries into host.equiv and .rhosts on the tape drive server:
prodution_server root # This is equivalent to the hostname and... (1 Reply)
Discussion started by: cstovall
1 Replies
5. Shell Programming and Scripting
Hi,
I am writing a script that will require me to perform tasks across servers. I tried to use rsh <host> "Commands..." > /dev/null 2>&1. However, I am required to execute a long series of commands after that and rsh does not seem to support this and its also insecure.
I tried to use rsh to... (5 Replies)
Discussion started by: joseph_ng
5 Replies
6. Shell Programming and Scripting
Hi,
root@air01a>SS7Manager -status
This command gives correct output. But when I write this in script and run it on SUNMC (which can connect to air01 and by default login as root). It gives the error "SS7manager not found" or "can not open". Here is the scripts.
#!/bin/sh
rsh air01a... (4 Replies)
Discussion started by: lastkey
4 Replies
7. Shell Programming and Scripting
Hi all,
I have a file on a remote machine and I want to do a cut operation on that file.
So, I have been doing
rsh <remote> " cut -d " " -f 2 <filename> "
cut: invalid delimiter
But, when I get the file to the local machine and run the same command, I get... (1 Reply)
Discussion started by: eamani_sun
1 Replies
8. Shell Programming and Scripting
Hi,
I want to do a awk operation on a file on a remote machine.
I am using rsh for this.
rsh <remote> awk '{print $2}' process.txt
output:
awk: syntax error near line 1
awk:illegal statement near line 1
I can do the awk operation by logging into the remote machine.
Can... (1 Reply)
Discussion started by: eamani_sun
1 Replies
9. UNIX for Advanced & Expert Users
while using the rsh command to execute script S1 in the remote server it is not using the .profile in remote server.
The script S1 which is using sqlplus is not able to set up the ORACLE environment which is defined in .profile
Thanks in advance.... (3 Replies)
Discussion started by: jaiankur
3 Replies
10. Shell Programming and Scripting
Hi,
I earlier determined I cannot use FTP to execute remote commands on a server.
My problem, I need to use a second server to get/put files via ftp onto my primary server and various tertiary servers.
my server(A) ---> server (B) ----> server blah(c), server balh(C)
I cannot directly... (1 Reply)
Discussion started by: mcclunyboy
1 Replies
uuxqt(1) General Commands Manual uuxqt(1)
NAME
uuxqt - Executes remote command requests
SYNOPSIS
uuxqt [-ssystem] [-xdebug_level]
The uuxqt program executes specified commands on designated remote systems.
OPTIONS
Specifies the name of the remote system. Use this option only when starting uuxqt manually. The remote system name is supplied internally
when uuxqt is started automatically. Displays debugging information on the screen of the local system; debug_level is a single digit
between 0 and 9. The higher the number specified, the more detailed the debugging information displayed.
DESCRIPTION
When uux is entered by a user, the program creates the necessary C.* (Command), D.* (Data), and X.* (Execute) files and places them in
the spooling directory on the designated remote system. The uux command then calls the uucico daemon which in turn, tries to contact the
designated system to deliver the files. When the files are transferred, uuxqt executes the commands on the designated system.
The uuxqt program searches the spool directories on the designated system for the X.* (Execute) files whose names indicate that they were
sent from another system. The command checks each X.* file for the following: All of the required D.* (Data) files must be available and
accessible. File commands must be permitted for the requesting system.
The uuxqt program can be executed manually by a user with superuser privileges. This daemon is executed automatically by the uudemon.hour
shell script, which is started periodically by cron.
FILES
Lock file which prevents multiple use of device Limits number of remote command executions Access permission codes
SEE ALSO
Commands: uucico(8), uucp(1), uustat(1), uux(1)
uuxqt(1)