tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* HELP: Problem with rsh...
@ 1996-10-24 21:52 Guy Dallaire
  0 siblings, 0 replies; only message in thread
From: Guy Dallaire @ 1996-10-24 21:52 UTC (permalink / raw)
  To: tru64-unix-managers

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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-10-24 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-24 21:52 HELP: Problem with rsh Guy Dallaire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox