tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Peter C. Chapin" <pchapin@ecet.vtc.edu>
Subject: ksh environment for rsh/ssh access?
Date: Fri, 13 Dec 2002 15:46:06 -0500 (EST)	[thread overview]
Message-ID: <Pine.OSF.4.44.0212131538300.443409-100000@midnight.ecet.vtc.edu> (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



                 reply	other threads:[~2002-12-13 20:46 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