From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321785.tru64-unix-managers.marc@archive.invalid> From: Guy Dallaire Date: Thu, 24 Oct 1996 21:52:00 +0000 To: tru64-unix-managers Subject: HELP: Problem with rsh... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321785 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@total.net "God only knows if god exists"