From: fmu@OERAG.DE
Date: Fri Jul 12 2002 - 09:35:07 EDT
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