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:message-id:from:reply-to:to:subject
	:references:in-reply-to:content-type; q=dns; s=default; b=EZD616
	7O67DUe+G9VTxEYtmBbJBYh9qYmS/PFFn/Z5J1IA+XhMdC/aNlH3DODkeA0nweS5
	Yw1RzQJgmasr+rtjASQo8xMTPrr/S5aiQWTZ+JZkMLGUpdeeuo92fXn1IoNwaLkO
	m4f6E/sKaDkoKbaSPH84wG+Cn2xzyV4UDjgYI=
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:message-id:from:reply-to:to:subject
	:references:in-reply-to:content-type; s=default; bh=I1A+7M6TsSSU
	4zUkRi3kIPTDoSY=; b=YErt9od73Um9JLkA4+qiQsQi+onX5SVO4D2otP0hCUQt
	xabud2nKYqeRXK93oFIRkZpIUpaIGm53UEteT5N6neUlUPfreSNIbPp1CVk0TrpA
	kYpVoXMhqQ0YRUw37xsv92uXRxtmyBa1O1Omp2CX7NELGNVAbYoTXG5LreJL2ys=
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=-2.6 required=5.0 tests=BAYES_00,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=stopping, H*F:D*nl, month, services
X-HELO: lb1-smtp-cloud8.xs4all.net
Date: Wed, 20 Feb 2019 23:25:03 +0100
Message-ID: <8a090f975df7df5efe3d856568ad644f@smtp-cloud8.xs4all.net>
From: Houder <houder@xs4all.nl>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: cygwin 3.0.1-1 breaks my sshd install
References: <19759126.568100.1550686604174.ref@mail.yahoo.com> <19759126.568100.1550686604174@mail.yahoo.com> <alpine.DEB.2.21.1902201038580.32163@ckhb05> <47883ab06634fed3ecdaa375016dc3fb@smtp-cloud8.xs4all.net> <20190220202536.GX4256@calimero.vinschen.de> <0a2366b9de0f65ed912d41c2ee040f4a@smtp-cloud8.xs4all.net> <20190220214108.GZ4256@calimero.vinschen.de> <9182b0f90b1341b32edd9c0ba02e89a9@smtp-cloud8.xs4all.net>
In-Reply-to: <9182b0f90b1341b32edd9c0ba02e89a9@smtp-cloud8.xs4all.net>
Content-Type: text/plain; charset=UTF-8; format=fixed
User-Agent: mua.awk 0.99

On Wed, 20 Feb 2019 23:01:01, Houder  wrote:
> On Wed, 20 Feb 2019 22:41:08, Corinna Vinschen  wrote:
> 
> > On Feb 20 22:35, Houder wrote:
> [snip]
> 
> > >
> > > Perhaps I missed something in the last couple of month. Did I have
> > > to change
> > > something in the setup of openssh?
> > 
> > I really don't know, this all works fine for me.  Try switching the
> > account starting sshd from cyg_server to LocalSystem and change
> > ownership of all files /etc/ssh* to SYSTEM.
> 
> I carried out Andy M.'s instruction and it worked (as I wrote). The
> files you mention above are still owned by cyg_server (and readable
> by group Adminstrators).

As a final step I rebooted my system (W7, 64 bits, Uising 64-bits Cygwin).

I can still connect to the localhost w/ ssh ...

But I cannot start and stop the "sshd service" using cygrunsrv.

64-@@ cygrunsrv -E sshd
cygrunsrv: Error stopping a service: OpenService:  Win32 error 5:
Access is denied.

64-@@ cygrunsrv -S sshd
cygrunsrv: Error starting a service: OpenService:  Win32 error 5:
Access is denied.

I have to use the "services applet" from Windows in order to start and
stop the service.

Henri


--
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

