HELP: Problem with rsh...

From: Guy Dallaire <dallaire_at_total.net>
Date: Thu, 24 Oct 1996 17:52:00 -0400

Hello,

I just noticed that rsh does not seem to execute the .profile in the target
account when a command is run.

Example:

account A's .profile on machine some_host:

TRALALA=Hello
export TRALALA

account A's .rhosts (Prot = 0600):

some_host B

Now suppose account A contains a shell script (test_script) like this:

echo $TRALALA

And if user B on host some_host issues the following command:

rsh -l A some_host test_script

I expected to see the word "Hello" appear but nothing happens, it's as if
the .profile was not executed or that the variable was not exported... Is
this normal ?

                                        Thanks

Guy Dallaire
dallaire_at_total.net

"God only knows if god exists"
Received on Fri Oct 25 1996 - 00:13:46 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT