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=gnRwcqn NHNPUtL54hk/coVr9VnoJEnK0hotp9MHLkRQ1DQLbC1LO07g93XHWDsv7nx/J16H nXuvd04Dut0p1U47RZ3ayLmpzGTR9U17wpv0C8U/omS43sX/k0yXEygffaKQwjQf glmPNRIaQK3WFp4sr83D4kRnafhZw1DOsQls= 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=TuWGwOj3LdonL En5CINGfh/zb/o=; b=lacfv5OlA2H2fxd6PjaXgDRVNmj1AWvjcOb+Fk6BSL89K dokMDbZkVoVQF6l0BsVthBUybY7rdMd12whsl/YuQJIeQSSaUdryjMSiUOu1rabV /zJ5aLfjg3WbuMNLZZ2OSqxl/GW2Wi/RYvPJV+3Lj+V6lMTFdSUhNbb0n1daWg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=answered, states X-HELO: mout.gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1548712200; bh=jHqI+Cm740oyUkfsjiBhczqj33WFouwBaRdWgazvUF0=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=EThzvlB3+819VwnJ71OFp3GX6BQ82kGFFBrSLOGmf517jLu3PCKkksLxgWkhGDM/I tefghZO/vOdEbwp4ufCG/zSaUpl2+5sE40ljebxDnFsXLPrIeSRrzErOeztPpTbTg/ pOPtW22kg9xMe2og9JXyslowI/ZtmeESIQGERcrY= 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> <20190125174833 DOT GA1710 AT zebra> <20190128095947 DOT GN3912 AT calimero DOT vinschen DOT de> <20190128165227 DOT GQ3912 AT calimero DOT vinschen DOT de> <20190128183856 DOT GT3912 AT calimero DOT vinschen DOT de> In-Reply-To: From: Bill Stewart Date: Mon, 28 Jan 2019 14:49:46 -0700 Message-ID: Subject: Re: sshd permits logon using disabled user? To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Mon, Jan 28, 2019 at 1:14 PM Bill Stewart wrote: > 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. Hi Corinna, 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. Thoughts? 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