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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=nYysi3m6OrOfhgIcMOXdgfHXhYTwD5af3+gK9Cy6GhgkP8yS2nr8Z UFejMRo89cu9MQz4V4SN23b+PurkS22TMWnSf/XYZ1Y7Eg/GEGfMJmVV1BnPw7yu UHIe9w9PyhzpqsfiTgMczBRrj1TIN28zf8CwVeipff4QIOsRKPn0r8= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=APoLz3pnCcd35Q3rUVzgWcLOhn4=; b=T0G8hmoZewn6JzyRPr9jOyJNFPJ5 j7H50FF/fEQH6rkAk81f9AQJEclNqdgfgB6/qYKvUlJMad3uW4t19brN8nWnAHvH Mw/d1+AyWo37NyLjG+vqJifwL93TJZEh2pkVFZkVkKwAPGyUjq3Un1fIx95P499Z ecgLy4GGtQ8X0+E= 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.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 14 Aug 2014 17:19:01 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: sshd default user PATH Message-ID: <20140814151901.GB25497@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20140814112006 DOT GA22411 AT calimero DOT vinschen DOT 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) --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--