X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com From: Achim Gratz Subject: Re: sshd default user PATH Date: Tue, 19 Aug 2014 09:08:42 +0000 (UTC) Lines: 18 Message-ID: References: <20140814112006 DOT GA22411 AT calimero DOT vinschen DOT de> <20140814151901 DOT GB25497 AT calimero DOT vinschen DOT 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 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