problems with rsh command

From: fmu@OERAG.DE
Date: Thu Jul 11 2002 - 12:16:44 EDT


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