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
Received on Fri Dec 13 2002 - 20:46:45 NZDT