From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47899 invoked by alias); 29 Jan 2019 12:12: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 47863 invoked by uid 89); 29 Jan 2019 12:12:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=culprit, states, tomorrow X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.130) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 29 Jan 2019 12:12:03 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MNL2Y-1gVA2V0CXi-00OrBY for ; Tue, 29 Jan 2019 13:12:01 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 3D518A8096E; Tue, 29 Jan 2019 13:12:00 +0100 (CET) Date: Tue, 29 Jan 2019 12:12:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: sshd permits logon using disabled user? Message-ID: <20190129121200.GW3912@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20190125174833.GA1710@zebra> <20190128095947.GN3912@calimero.vinschen.de> <20190128165227.GQ3912@calimero.vinschen.de> <20190128183856.GT3912@calimero.vinschen.de> <20190129115656.GV3912@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PdAWLd+WEPmMbsbx" Content-Disposition: inline In-Reply-To: <20190129115656.GV3912@calimero.vinschen.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2019-01/txt/msg00269.txt.bz2 --PdAWLd+WEPmMbsbx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1544 On Jan 29 12:56, Corinna Vinschen wrote: > On Jan 28 14:49, Bill Stewart wrote: > > On Mon, Jan 28, 2019 at 1:14 PM Bill Stewart wrote: > >=20 > > > Thank you. I wanted to point out that I have not had a chance to test > > > using a non-domain computer yet. I will try that scenario as well. > >=20 > > Hi Corinna, > >=20 > > I unjoined a Windows 7 machine from the domain and tested as follows: > >=20 > > 1. Ran setup and installed cygwin > >=20 > > 2. Ran sshd-host-config and answered "no" to install as service > >=20 > > 3. Installed service using this command line: > >=20 > > cygrunsrv -I cygsshd -d "Cygwin SSH Service" -p "/usr/sbin/sshd" -a > > "-D" -y "tcpip" > >=20 > > 4. Renamed cygwin1.dll to a backup name and replaced with copy from > > latest snapshot > >=20 > > When I try to start the service, I get error 1067 ("the process > > terminated unexpectedly"). Event log states: > >=20 > > cygsshd: PID nnnn: starting service `cygsshd' failed: fork: 11, > > Resource temporarily available > >=20 > > If I start bash elevated and run this: > >=20 > > /usr/sbin/sshd -d > >=20 > > It starts and listens on port 22 and I can connect. > >=20 > > Thoughts? >=20 > I can reproduce this on W7, while it works fine on W10. Unfortunately I > haven't much time today and tomorrow but I'll try to get around to it > Thursday or Friday. >=20 > In the meantime, can you try the snapshots which one started to > introduce this issue? Never mind, I found the culprit. Corinna --=20 Corinna Vinschen Cygwin Maintainer --PdAWLd+WEPmMbsbx Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxQQxAACgkQ9TYGna5E T6CeDxAAorMkaI7JOZvO49hWUtVAqiZLJePUFZM8e/PzEE5KjGjmE25kYMGDZXel XkESTO5UAY2ygfPa3/bYdeEmOkA357OXFGIJ1UUNNLH8GwK856vcBmjI/mPK8OM5 vBd9COnsaEb4xixlQjnfCT+e6MgF7k+oPYQhfAv9ZTxAlDAMkqPDEAUlGLkBkQ6i q8mLOufYMBw1t0lXZDTJZhnTmM6MzWQ2WwyM4k6puxjH1eeE/XKrQHLaMjbCBn+x 3UHpER+k0IKplPzfD+g0DqZRB/2EQ6Usvvtu9YTTgpdoDc3/RvDqxwWZDIXCoNx9 x3GCbyutzNZWl2gm70Xpg48+jq0J2SNn3QWZI4pGx+88zQHfMgxX6E4CBMqh/5/G ExipAKqPnZXhpG7D3Xx2vyxG1SU71eOW8cQyRB7j5xZIln6vytgqKqNOoyKif+75 zqcbyzFq2EdHdLKCKSYURRJwmpDg0bwZqlrgO0+2QxXEtKAAHoIXHLQuZi2CJzR5 bzHzfbnwuo8XYNKOFUl1xZnsOezUblZkBoQ+55RzhxoOT3cry8uiFHaBTiFSbAK+ 1Jmejc9WcWWETqmywmvZpRKipdssxMMFDmTrRQEaj9vGDdx7C54tYoWHsl211iCh blRDbBbf3mOSeukq2OXzcbnZf9PM+IxpnB9Hhq8gjI1hJLPE+v0= =zpZ0 -----END PGP SIGNATURE----- --PdAWLd+WEPmMbsbx--