delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/01/28/17:24:45

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:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=WcL4ef6
VT20gKNV1D7cRgwN0T3TBpJMr7rIL/wl24e5GXDb4wYE5PXMtG0l635HEVjydCg5
ose4/hka0WwIkDbnHPcu4fZMlq834dm5Tt03O6YIpQV0z0xAHaktx5zyioaYlcsH
YR84+P3kB8PGlceQRjJlK6ec5ZKSd+YNlJgc=
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:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; s=default; bh=z4hE7WanzuQFU
G+CPz6v0XWjr3Y=; b=GAnoo7KuKPrcM7SpZqp6NwpjZ+ow1KPrnknVzM+SUB6Xw
KmlY4L6hKY9vMjK8X/TWLwrHRMvLXyEAiT0tMe7agZdiUpNUxe3BOqCrUuwVibOd
M/w0TAdtkkOzbBEUE0amv+ew5GNowWFdx8b2OTqGWfJIYqifSOJ/sxY+NCDj4M=
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-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=states
X-HELO: mout.gmx.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1548714255; bh=qd/ZJddrdy9zKiM3obCTWGD0yagUVK3Nvb21foYVVE0=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=iyRcl/++V2Od02XTvh/6dSkyzfqxahdskPfd2jTZheVBzS1VCuUg63vxCvQm648xl 8GS38SbtCy107V90h6+todLARAh6n9NV5lahrP2KdNFTsEAoqUF618nSsAkJcG1WAK KnH+k9dg2WJUcCP2K1QEaYMICJMO0agHW/OPsIWM=
X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79
MIME-Version: 1.0
References: <1690850474 DOT 834980 DOT 1548391349102 DOT ref AT mail DOT yahoo DOT com> <1690850474 DOT 834980 DOT 1548391349102 AT mail DOT yahoo DOT com> <d6f98cbc-bd2f-1c13-98bb-7ef42c000115 AT baur-itcs DOT de> <CANV9t=RKVWPfiqNMbnSgevTBvm8S1G-oFWK3BEisdgaSGz2OzA AT mail DOT gmail DOT com> <20190125174833 DOT GA1710 AT zebra> <CANV9t=Q2ZRqVD99a+qdVTet1hn_aM6RY5B2Cm1oc0E4Lf9x2ig AT mail DOT gmail DOT com> <20190128095947 DOT GN3912 AT calimero DOT vinschen DOT de> <CANV9t=Tk=k5ohYw5TcvYy7TrWUBOTA4JXqE=75H+6n_-o53ZSQ AT mail DOT gmail DOT com> <20190128165227 DOT GQ3912 AT calimero DOT vinschen DOT de> <CANV9t=QMcDWWKY=Qqe-1jdbE1SNJ+uwGuV02uoqAYwMj85Ts8w AT mail DOT gmail DOT com> <20190128183856 DOT GT3912 AT calimero DOT vinschen DOT de> <CANV9t=Te2mE-Hnz6oD_dxArTtDQ3xTyk1+pxNvY6qQG++ULHaw AT mail DOT gmail DOT com> <CANV9t=ReTRydfVV=u-9fTLz-ftt6u_Z-z=bR7ywcBYO2z9JsUw AT mail DOT gmail DOT com>
In-Reply-To: <CANV9t=ReTRydfVV=u-9fTLz-ftt6u_Z-z=bR7ywcBYO2z9JsUw@mail.gmail.com>
From: Bill Stewart <bstewart AT iname DOT com>
Date: Mon, 28 Jan 2019 15:23:47 -0700
Message-ID: <CANV9t=QLzV0ZJgHAVfwmWJfSN0s7aC_mF_rXd2_U96_PV-eGjQ@mail.gmail.com>
Subject: Re: sshd permits logon using disabled user?
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Mon, Jan 28, 2019 at 2:49 PM Bill Stewart <bstewart AT iname DOT com> wrote:

> I unjoined a Windows 7 machine from the domain and tested as follows:
>
> 1. Ran setup and installed cygwin
>
> 2. Ran sshd-host-config and answered "no" to install as service
>
> 3. Installed service using this command line:
>
> cygrunsrv -I cygsshd -d "Cygwin SSH Service" -p "/usr/sbin/sshd" -a
> "-D" -y "tcpip"
>
> 4. Renamed cygwin1.dll to a backup name and replaced with copy from
> latest snapshot
>
> When I try to start the service, I get error 1067 ("the process
> terminated unexpectedly"). Event log states:
>
> cygsshd: PID nnnn: starting service `cygsshd' failed: fork: 11,
> Resource temporarily available
>
> If I start bash elevated and run this:
>
> /usr/sbin/sshd -d
>
> It starts and listens on port 22 and I can connect.

Also: If I revert cygwin1.dll to the 11/8/2018 version I am able to
start the service.

Bill

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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