From: Guy Dallaire <dallaire () total ! net>
To: tru64-unix-managers
Subject: HELP: Problem with rsh...
Date: Thu, 24 Oct 1996 21:52:00 +0000 [thread overview]
Message-ID: <96076340321785.tru64-unix-managers.marc@archive.invalid> (raw)
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"
reply other threads:[~1996-10-24 21:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox