delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/14/11:19:26

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: <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
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 <corinna-cygwin AT cygwin DOT com>
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: <loom DOT 20140814T113926-374 AT post DOT gmane DOT org> <20140814112006 DOT GA22411 AT calimero DOT vinschen DOT de> <loom DOT 20140814T134740-103 AT post DOT gmane DOT org> <loom DOT 20140814T145621-877 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20140814T145621-877@post.gmane.org>
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 <Stromeko <at> 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019