X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=KqeY4SDcnWX6SKf/pFWMy2ePGDQb3nHhGvH0/aZsU9chTFySsrXD3
	S9lou1ACZ4Cm+aFMzsVie6CAfIzmWrHBC0x6O06Jf4WYaw0BKJ476HfnCd12zoPw
	bKAyO6QtpKk+Vgyl+5MSajPVJw6PAbEDMU6D6T5ENMCe5b2vizCsBY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=8grFiNMHNv4yK8T5wNvlQ6OiexM=; b=lcXKJXYgpnOOUZUMi6txevIfeD82
	ART922QjqU4josrUxO5nBPTx5MUoELCT4ShGOqL+7DsoD2MEl3o4ztmEzjqnDnG/
	KXy4AFi34SXPIXaUZ0L5qPTPmWuKFxycKfwkDChs7IGTgujRhGgfqFlELrpI/qVG
	y1qeMjeusw7tVCY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.2 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@NexGo.DE>
Subject: Re: sshd default user PATH
Date: Tue, 19 Aug 2014 09:08:42 +0000 (UTC)
Lines: 18
Message-ID: <loom.20140819T110240-813@post.gmane.org>
References: <loom.20140814T113926-374@post.gmane.org> <20140814112006.GA22411@calimero.vinschen.de> <loom.20140814T134740-103@post.gmane.org> <loom.20140814T145621-877@post.gmane.org> <20140814151901.GB25497@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> That means the patch to sshd isn't that important.  Nevertheless, I
> just released cygrunsrv-1.60-1, which prepends /bin to $PATH.
> 
> Funny enough, the README file claimed that /bin gets prepended to $PATH
> since the early days.  Just the actual code didn't follow suit :-P

The help output from the command still talks about adding it to PATH, so
that may actually have been intentional: prepending /bin might mess up
things if someone actually wants to get something in front.  All things
considered, I suggest that cygrunsrv doesn't fiddle with the PATH if an
explicit PATH environment has been given on the command line, but prepends
it to the PATH if it gets inherited from Windows.


Regards,
Achim.



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

