www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/17/21:03:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 17 Apr 2008 18:02:44 -0700
From: Gary Johnson <garyjohn AT spk DOT agilent DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: environment variables and ssh logins
Message-ID: <20080418010243.GF17899@suncomp1.spk.agilent.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20080418010044 DOT GE17899 AT suncomp1 DOT spk DOT agilent DOT com>
MIME-Version: 1.0
In-Reply-To: <20080418010044.GE17899@suncomp1.spk.agilent.com>
X-Operating-System: SunOS suncomp1 5.8 sparc
User-Agent: Mutt/1.5.17 (2007-11-01)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2008-04-17, Gary Johnson wrote:
> I have several environment variables defined in the Windows Control 
> Panel -> System -> Advanced -> Environment Variables -> System 
> Variables list on my Windows XP box.  If I run a Cygwin bash login 
> shell locally on this machine, I can find all those environment 
> variables in the output of the env command.  However, if I ssh to 
> the same machine, several of those environment variables are missing 
> from my environment.
> 
> For example, PATH is in both environments and is the same except for 
> the extra :/bin component in the ssh version, and "CYGWIN=ntsec" is 
> in both.  However, PYTHONPATH is in the local environment but not in 
> the ssh environment.
> 
> Why are some but not all the environment variables defined in the 
> System dialog inherited by ssh logins?

P.S.

Yes, I have rebooted since setting PYTHONPATH.

Gary


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019