From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Peter C. Chapin" Newsgroups: gmane.os.tru64.managers Subject: ksh environment for rsh/ssh access? Date: Fri, 13 Dec 2002 15:46:06 -0500 (EST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1039812372 29048 80.91.224.249 (13 Dec 2002 20:46:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2002 20:46:12 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18MwhF-0007Xr-00 for ; Fri, 13 Dec 2002 21:46:09 +0100 Original-Received: (qmail 28354 invoked by uid 5); 13 Dec 2002 20:46:15 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28321 invoked by uid 49493); 13 Dec 2002 20:46:15 -0000 Original-Received: from pchapin@ecet.vtc.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.424638 secs); 13 Dec 2002 20:46:15 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 13 Dec 2002 20:46:14 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H7200CK0SCZBM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 13 Dec 2002 15:46:14 -0500 (EST) Original-Received: from midnight.ecet.vtc.edu (midnight.ecet.vtc.edu [155.42.13.3]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with SMTP id <0H7200MBSSCV1R@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 13 Dec 2002 15:46:09 -0500 (EST) Original-Received: (qmail 446673 invoked by uid 201); Fri, 13 Dec 2002 20:46:06 +0000 Original-Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; Fri, 13 Dec 2002 20:46:06 +0000 Original-To: Tru64 Unix Managers Xref: main.gmane.org gmane.os.tru64.managers:2733 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2733 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