From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25585 invoked by alias); 14 Aug 2014 15:19:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25473 invoked by uid 89); 14 Aug 2014 15:19:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Aug 2014 15:19:03 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 1C5808E0773; Thu, 14 Aug 2014 17:19:01 +0200 (CEST) Date: Thu, 14 Aug 2014 15:19:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: sshd default user PATH Message-ID: <20140814151901.GB25497@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20140814112006.GA22411@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-08/txt/msg00265.txt.bz2 --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1124 On Aug 14 13:01, Achim Gratz wrote: > Achim Gratz NexGo.DE> writes: > > I've just tried using "-e PATH=3D/bin" in the sshd service startup, but > > PATH still seems to be hardcopied from Windows >=20 > I did this wrong. I had to re-install the service, not just adding a > startup parameter. With "-e "PATH=3D/usr/bin" the resulting initial PATH= from > an ssh login is "PATH=3D/usr/bin:/bin". So I can use that as a workaroun= d and > we can spend some more time to think about whether that behaviour from > cygrunsrv or sshd needs further adjustment or if just the install helper > script should ask for these things. >=20 > Thanks for getting me on the right track. 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 Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --UHN/qo2QbUvPLonB Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT7NNlAAoJEPU2Bp2uRE+gqy8P/3WQpYD43QvbKqJKNd0m3tED Cj4BIz3NKUtpxx2IDMzQLkRPTD9t3lKB8zZJF4IeGzWjp0MIKCZpr23LQ0+HDcOx d4TPPoJiOTbyqMa5XqJKvdT3z3DOqw6BY0/lLOuW0uvZFjWk/pRGTEt7pTTswyMI IrHPa6wAkBFA3WQdRb8+LIP6GftV1jFin6G8kNQs0xE3JAVB6GGBOMNSN+uQc5u2 E5zWkEOFlB1kBfIdq3OodoELELz9wpORm6tIZ5DZ1Q/y5ykxNyWkIiTY5g5nJlgH tyfo5tWxEBRxLuGL1wvqV1KqbFqGfMH/1N9inHjM/+eovli0Z6fN4sghco9co6Y/ Vpu0VjeWE9lv3QXe1fz5wCv1KplTpMbzHh7IauViZdGVTv7b5nazmcsKhkUu3Aab R2s8ExFF/qclWhUrJa6KzfvKyKHDnppJBWbd5ZMkXTqGYX120u1mbx+fKGTfAA2P dua4fa80NOKD6CtPR3xrrnFvMxsMFlKdG5831OkjBlYB+WbdgsClaap2N9NnUz7Z 49Nkw+2d/OV/ZhL1i8r9NE07ChAw+9PsNMVdPMLqu00MVvf86uuOTTrTegoMt+CJ Luk2gs4K4YiO2IchYXyOp8P8T96aD0j5TRI2tj9K9FAHZA2OfOBW0NJ7dSzYlV9O njvIeoyJ9czx0uJyAAjE =LGUo -----END PGP SIGNATURE----- --UHN/qo2QbUvPLonB--