Re: Antwort: Re: problems with rsh command

From: Jolet, John (John.Jolet@MISYSHEALTHCARE.COM)
Date: Fri Jul 12 2002 - 09:32:25 EDT


how about an rexec?

-----Original Message-----
From: fmu@OERAG.DE [mailto:fmu@OERAG.DE]
Sent: Friday, July 12, 2002 8:35 AM
To: aix-l@Princeton.EDU
Subject: Antwort: Re: problems with rsh command

Hi *,
      thanks but both solutions do not function.

> use -l to specify what user to run as???

> Separate commands with a ";". Perhaps do a "su - username -c aixterm -e
command1;command2;command3"

rsh ikarus aixterm -T test -display hermes:0.0 -ls -e "su - db2test aixterm
-e "sleep 10;date;sleep10""
or
rsh ikarus aixterm -T test -display hermes:0.0 -ls -e "su - db2test aixterm
-e sleep 10;date;sleep10"
or
rsh ikarus aixterm -T test -display hermes:0.0 -ls -e su - db2test "-c
sleep 10;date;sleep10"

No matter how I it make it false complete or only the first command runs in
the users-shell. The second command run in the first shell where I start
the rsh.
I think I must start a remote shell....

Best regards,
            Frank Müller



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:03 EDT