This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with environment variables in Windows 7


I did some googling around for this to no avail. Sorry 'bout that.
From 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@cygwin.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@yonidesk ~
>> $ env | grep -i ProgramFiles
>> COMMONPROGRAMFILES=C:\Program Files\Common Files
>> PROGRAMFILES=C:\Program Files
>> yoni@yonidesk ~
>> $ ssh yoni@localhost
>> Last login: Thu May 13 13:45:01 2010 from ::1
>> yoni@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               Âhttp://www.rfk.com
> RFK Partners, Inc. Â Â Â Â Â Â Â Â Â Â Â(508) 893-9779 - RFK Office
> 216 Dalton Rd. Â Â Â Â Â Â Â Â Â Â Â Â Â(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: Â Â Â http://cygwin.com/problems.html
> FAQ: Â Â Â Â Â Â Â Â Â http://cygwin.com/faq/
> Documentation: Â Â Â Â http://cygwin.com/docs.html
> Unsubscribe info: Â Â Âhttp://cygwin.com/ml/#unsubscribe-simple
>
>

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]