From: Bill Verzal (Bill_Verzal@BCBSIL.COM)
Date: Fri Jul 12 2002 - 08:56:32 EDT
Separate commands with a ";". Perhaps do a "su - username -c aixterm -e
command1;command2;command3"
-----------------------------------------------------------------------------------------------------------
Bill Verzal
Technical Consultant
Forbes Technical Consulting
(312) 653-3684
bill_verzal@bcbsil.com
MailStop: 27.201C
fmu@OERAG.DE
Sent by: IBM To: aix-l@Princeton.EDU
AIX Discussion cc:
List Subject: problems with rsh command
<aix-l@Princet
on.EDU>
07/11/2002
11:16 AM
Please respond
to IBM AIX
Discussion
List
Hi *!
I want to start with a rsh in a SP environment some commands as another
user on a node. For example start I this rsh:
rsh <hostname> aixterm -T blabla -display <cws name>:0.0 -ls -e su
- <username> 1. command, 2.comand, 3.command
I know that it woks with
su <username> "-c 1. command"
But only for one command and without "-" for the user (so I don't have the
users right environment).
Has anyone an idea?
Best regards,
Frank Mueller
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:03 EDT