X-Recipient: archive-cygwin@delorie.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=iAGc9LBnGL843MsPAiLP154dr69U2xl+y4d2op+RSubsUpMiKc+bH
	S5jp55fdNcwVwIq8g7ZxtJDdye3V/llQntvcFcc3H8ZZVBuZhn85wWixenoul/z3
	saEbbdEjkcoKMtPp0pvuzJPs1MEh7P+t5dWA1ZkA8qLFmvOeYy9EZ4=
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=vrVmJngVnE9m7I6w191OKd3tC6A=; b=qsZn9WBtZ06fdRDcToP+ZNmC+fWY
	Z4kTrGQvYgezOrUkAPLR1OINZemlSqSWwa79zNMP4huQkQZYyIVxvWvb2SJW/Mcb
	DNV5R6ZOh8EgRAhA/HNsIj+cFY9YSKBEk3ZyByI0rzlo+E1k8afQb+roeiZOcdwQ
	N0uZbEw/Er15SBk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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=states, tomorrow
X-HELO: mout.kundenserver.de
Date: Tue, 29 Jan 2019 12:56:56 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: sshd permits logon using disabled user?
Message-ID: <20190129115656.GV3912@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CANV9t=RKVWPfiqNMbnSgevTBvm8S1G-oFWK3BEisdgaSGz2OzA@mail.gmail.com> <20190125174833.GA1710@zebra> <CANV9t=Q2ZRqVD99a+qdVTet1hn_aM6RY5B2Cm1oc0E4Lf9x2ig@mail.gmail.com> <20190128095947.GN3912@calimero.vinschen.de> <CANV9t=Tk=k5ohYw5TcvYy7TrWUBOTA4JXqE=75H+6n_-o53ZSQ@mail.gmail.com> <20190128165227.GQ3912@calimero.vinschen.de> <CANV9t=QMcDWWKY=Qqe-1jdbE1SNJ+uwGuV02uoqAYwMj85Ts8w@mail.gmail.com> <20190128183856.GT3912@calimero.vinschen.de> <CANV9t=Te2mE-Hnz6oD_dxArTtDQ3xTyk1+pxNvY6qQG++ULHaw@mail.gmail.com> <CANV9t=ReTRydfVV=u-9fTLz-ftt6u_Z-z=bR7ywcBYO2z9JsUw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="QRo3kt64Wi40AlcO"
Content-Disposition: inline
In-Reply-To: <CANV9t=ReTRydfVV=u-9fTLz-ftt6u_Z-z=bR7ywcBYO2z9JsUw@mail.gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)

--QRo3kt64Wi40AlcO
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan 28 14:49, Bill Stewart wrote:
> On Mon, Jan 28, 2019 at 1:14 PM Bill Stewart <bstewart@iname.com> 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?

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.

In the meantime, can you try the snapshots which one started to
introduce this issue?


Thanks and sorry for the hassle,
Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--QRo3kt64Wi40AlcO
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxQP4gACgkQ9TYGna5E
T6AYUhAAm/a+eFIzD/+BxOCz0A63hXFp/i9Ly2R5fDEn7DTtmNckMhLn460JsW/i
wE+Macf9VAP093O08XUaQa5l7sGWLxvIFwq5+nRD+D/o/cnnfLiDV5qmBP5Ik4xI
9MhHRiFnAlZ+jnNzLBhJD9iPM5qT1wb5rvZgm1Wx/XUpm8rq0kH4ZJ4y+KH/Z+n2
fOag2ExvRyxDbs1BCl2InrDxSuEUEqqG+HNTJF4erLA3qG9JAKN2d/6HeT8GD/w0
bC5hQrdFBSl6mCjmlbsFhRsEQBc0h74hBAMZDpjfP3/U7pvkykSbY/3w+Y/rSRgX
vrlgTipC37MXfQoWmCWuT2x2d+tTntxISMbvgBgWu4JME+FuShsqUMTM0SYZ/EU6
4x8fM1iuUCVeaIcWu+tGM7+5eYywddNlpOY0cl7uq/9v86aUfsxOhqjSFsj3rpQO
NxaAwbSpS9wUv31B7tehw8AMYQ2N7qjoWP18fvP1N6/a3fiJpmKQO8um8Vtxrf+m
gccxQP+SH0bDUNjXf/mew7MNhX6BVzeglPAss0O+A/2afSa0qRqIXluLCT3BOIVU
pW6Ky2a481tWM7dX+Htbu4JdxpeXakAkezOzseX3pBGoOMz1GZQTcSBrfBqr3dTt
hZI8uYB0a0tq+LtC6zFNj76fC51Q/svp/v+t5KQH7eZ0bMjNRv0=
=pLFE
-----END PGP SIGNATURE-----

--QRo3kt64Wi40AlcO--
