delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/20/18:08:40

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: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 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,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 AT xs4all DOT nl>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 3.0.1-1 breaks my sshd install
References: <19759126 DOT 568100 DOT 1550686604174 DOT ref AT mail DOT yahoo DOT com> <19759126 DOT 568100 DOT 1550686604174 AT mail DOT yahoo DOT com> <alpine DOT DEB DOT 2 DOT 21 DOT 1902201038580 DOT 32163 AT ckhb05> <47883ab06634fed3ecdaa375016dc3fb AT smtp-cloud8 DOT xs4all DOT net> <20190220202536 DOT GX4256 AT calimero DOT vinschen DOT de> <0a2366b9de0f65ed912d41c2ee040f4a AT smtp-cloud8 DOT xs4all DOT net> <20190220214108 DOT GZ4256 AT calimero DOT vinschen DOT de> <9182b0f90b1341b32edd9c0ba02e89a9 AT smtp-cloud8 DOT xs4all DOT net> <8a090f975df7df5efe3d856568ad644f AT smtp-cloud8 DOT xs4all DOT net> <20190220223817 DOT GB4256 AT calimero DOT vinschen DOT de>
In-Reply-to: <20190220223817.GB4256@calimero.vinschen.de>
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

- Raw text -


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