delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/20/01:46:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL
X-Spam-Check-By: sourceware.org
Message-ID: <505AAD94.5060205@cwilson.fastmail.fm>
Date: Thu, 20 Sep 2012 01:45:56 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Attn: base-files maintainer? [Was: sshd from user account - env issues]
References: <505A03B1 DOT 6070409 AT silicondust DOT com>
In-Reply-To: <505A03B1.6070409@silicondust.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 9/19/2012 1:41 PM, jafa wrote:
> Running SSHD from the user account like this basically works - I can ssh
> into the machine, but the env vars are not quite right.
>
> For example, local bash:
> TEMP=/tmp
> temp=C:\Users\build\AppData\Local\Temp
> TMP=/tmp
> tmp=C:\Users\build\AppData\Local\Temp
>
> SSH session:
> temp=
> TEMP=/tmp
> tmp=
> TMP=/tmp

Try installing the test version of the base-files package (4.1-2). 
There was a thread six months ago or so where it was decided that 
setting vars in both upcase and lowercase was a bad idea (breaks .net 
applications, for one thing, and confuses many others).  This change was 
implemented in base-files as a test, but has never been promoted.

--
Chuck


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