delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/13/12:11:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4BEC1BFE.3070300@cygwin.com>
References: <AANLkTimSPoSAbZ3mPAU-bjEv5N-vqmsaKoN_slnYI60M AT mail DOT gmail DOT com> <AANLkTilRpeRX5JJHDuQu2rb7RS3S3-s80r94wtTqKOuQ AT mail DOT gmail DOT com> <4BEC1BFE DOT 3070300 AT cygwin DOT com>
Date: Thu, 13 May 2010 19:10:49 +0300
Message-ID: <AANLkTiklBvHT_RgISgqek1zbZwsKu5qjL7Gj_3L5D9Pa@mail.gmail.com>
Subject: Re: Problems with environment variables in Windows 7
From: yoni shalom <silver83 AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

I did some googling around for this to no avail. Sorry 'bout that.
=46rom the conversation you referred me to :  " ... 'ssh' is a secure
shell so it has a minimal environment...."

a. Did this change in one of the newer versions ? We have a few
machines here configured the same way and we never got this problem
before.
b. What's the reason for "downsizing" the environment variable set ?
If I'm already securely authenticated as X why shouldn't I see
everything X would if he had opened a terminal locally ?

Thanks.

On Thu, May 13, 2010 at 6:34 PM, Larry Hall (Cygwin)
<reply-to-list-only-lh AT cygwin DOT com> wrote:
> On 5/13/2010 8:36 AM, yoni shalom wrote:
>>
>> I don't get the user's environment variables while in ssh session.
>> Example :
>>
>> //open up cygwin console
>> yoni AT yonidesk ~
>> $ env | grep -i ProgramFiles
>> COMMONPROGRAMFILES=3DC:\Program Files\Common Files
>> PROGRAMFILES=3DC:\Program Files
>> yoni AT yonidesk ~
>> $ ssh yoni AT localhost
>> Last login: Thu May 13 13:45:01 2010 from ::1
>> yoni AT yonidesk ~
>> $ env | grep -i ProgramFiles
>> [nothing]
>>
>> Fresh install of latest cygwin, everything else otherwise seems to work.
>> Any clues ? Thanks.
>
> The email archives is your friend:
>
> <http://sourceware.org/ml/cygwin/2010-05/msg00001.html>
>
> --
> Larry Hall =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0http://www.rfk.com
> RFK Partners, Inc. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0(508) 893-9779 - RFK Office
> 216 Dalton Rd. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(508) 893-9889 - FAX
> Holliston, MA 01746
>
> _____________________________________________________________________
>
> A: Yes.
>>
>> Q: Are you sure?
>>>
>>> A: Because it reverses the logical flow of conversation.
>>>>
>>>> Q: Why is top posting annoying in email?
>
> --
> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html
> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:=
//cygwin.com/faq/
> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html
> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s=
imple
>
>

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

- Raw text -


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