From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117647 invoked by alias); 28 Jan 2019 22:24:34 -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 117543 invoked by uid 89); 28 Jan 2019 22:24:25 -0000 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 Received: from mout.gmx.com (HELO mout.gmx.com) (74.208.4.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 28 Jan 2019 22:24:23 +0000 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 Received: from mail-it1-f171.google.com ([209.85.166.171]) by mail.gmx.com (mrgmxus001 [74.208.5.15]) with ESMTPSA (Nemesis) id 0Lwa9h-1hEuvZ3apj-018KNs for ; Mon, 28 Jan 2019 23:24:14 +0100 Received: by mail-it1-f171.google.com with SMTP id c9so1072960itj.1 for ; Mon, 28 Jan 2019 14:24:14 -0800 (PST) MIME-Version: 1.0 References: <1690850474.834980.1548391349102.ref@mail.yahoo.com> <1690850474.834980.1548391349102@mail.yahoo.com> <20190125174833.GA1710@zebra> <20190128095947.GN3912@calimero.vinschen.de> <20190128165227.GQ3912@calimero.vinschen.de> <20190128183856.GT3912@calimero.vinschen.de> In-Reply-To: From: Bill Stewart Date: Mon, 28 Jan 2019 22:24:00 -0000 Message-ID: Subject: Re: sshd permits logon using disabled user? To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00266.txt.bz2 On Mon, Jan 28, 2019 at 2:49 PM Bill Stewart 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