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=M2JRyB
	Z3NZdAd8bXKn8+Uk0lpJvmTFJEAuxBJJzDmlQi/sfIQNq+MvVNfE9jXdLn7CTWzJ
	u1iIVNg1zPZ4Gy/WnBw9pUu/Kbocetv51qto1hvMPuwZNO2WrCATQ6gAgdx489XE
	hJj/sBmpEC+GWoQX17Rg+4bAtKehcI4DnWE6Y=
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=a9HQj/JLaq8x
	zrNjVVymCmH5pGE=; b=VFKCugzVAEJzSeAJXAs+J68PJCeQFZiuRsKcGAnliy+L
	BACLxXqs4ki59infRuThOJPQAhTQTV3DXFBGdqPgvFuZS1eXMtbO3ZIJbNpOSAbV
	ZIokhehaE7yFmfP9X67BbYHoPN0q8fu4+XzO3p0/T+fb0jNEaWcsQx9g3o7L0+E=
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=H*F:D*nl, services, H*MI:sk:2019022
X-HELO: lb2-smtp-cloud8.xs4all.net
Date: Thu, 21 Feb 2019 00:08:25 +0100
Message-ID: <9bbd5ced13df50b13483d8f1c6a26f09@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> <8a090f975df7df5efe3d856568ad644f@smtp-cloud8.xs4all.net> <20190220223817.GB4256@calimero.vinschen.de>
In-Reply-to: <20190220223817.GB4256@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=fixed
User-Agent: mua.awk 0.99

On Wed, 20 Feb 2019 23:38:17, Corinna Vinschen  wrote:

> On Feb 20 23:25, Houder wrote:

> > 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.
> 
> Elevated shell?

Nope. So I tried an elevated shell ... and surprise, it worked! (both start
and stop). But, I really cannot remember that I ever used an elevated shell
before to start and stop the service ... (yes, now I know).

Thank you,

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

