tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* ksh environment for rsh/ssh access?
@ 2002-12-13 20:46 Peter C. Chapin
  0 siblings, 0 replies; only message in thread
From: Peter C. Chapin @ 2002-12-13 20:46 UTC (permalink / raw)



I'm attempting to make my Tru64 (v5.1A) system part of a PVM virtual
machine. The PVM console on a different computer attempts to start PVM on
my Tru64 system via rsh/ssh (I've configured it to use ssh). PVM requires
an environment variable PVM_ROOT to be set before it will function
properly. My problem is that when I use ssh to invoke a command on the
Tru64 system, PVM_ROOT is not set and I can't figure out how to set it.
Note that I'm using ksh on the Tru64 system.

For example, from a remote system:

	$ ssh mytru64system.vtc.edu set

yields the environment seen during remote command invocation. It is
definitely not the environment set up by my /etc/profile, $HOME/.profile,
or $HOME/.kshrc scripts. This makes sense because, according to the manual
page for ksh, only the login script reads /etc/profile and $HOME/.profile.
It's in $HOME/.profile where I set ENV causing $HOME/.kshrc to be read. So
my question is: just where is ksh getting the "rudimentary" environment
that I see when I issue the command above from a remote host? It seems
like I need to add either ENV or PVM_ROOT to this rudimentary environment.

TIA

Peter



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

only message in thread, other threads:[~2002-12-13 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-13 20:46 ksh environment for rsh/ssh access? Peter C. Chapin

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