delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/20/17:38:33

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:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=ei0DMaH+RgwnmtR2akESlYXe0Mp92v9IADlFfouHNML046QF33Ve5
M6o4BUbb9vzLkzkIVAkJPwPIo6kwFMhSQwN6LzJg4E41vLXaLvYET78K2MLANKUO
FL6bioeNiLvSmj7KawLbn+dmpIXmhzZTP/wjaDxOTcLfhmTWfm/wTU=
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:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=ST8Tx4XqFnRQTZcUaxVflfGGjYU=; b=JK7/+0T3mxAjUn8z8e2/RkZWUjSh
/wXRwI2FanS+CuBtyWFAC8YXeWr0V08G/TgTitCl9cP+LPsXZW1jXbNNvm+WopwA
sSlAghR/ddHsNC7K2R+WYlDjFDV4B8gkgTP9dYwhK+MFqZM56/KmJl3BcSiTn1SY
zTgNF+WSzGSeJ5I=
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=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*F:D*cygwin.com, month, services
X-HELO: mout.kundenserver.de
Date: Wed, 20 Feb 2019 23:38:17 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 3.0.1-1 breaks my sshd install
Message-ID: <20190220223817.GB4256@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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>
MIME-Version: 1.0
In-Reply-To: <8a090f975df7df5efe3d856568ad644f@smtp-cloud8.xs4all.net>
User-Agent: Mutt/1.10.1 (2018-07-13)

--8+odlFQADydc3R4z
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 20 23:25, Houder wrote:
> On Wed, 20 Feb 2019 23:01:01, Houder  wrote:
> > On Wed, 20 Feb 2019 22:41:08, Corinna Vinschen  wrote:
> >=20
> > > On Feb 20 22:35, Houder wrote:
> > [snip]
> >=20
> > > >
> > > > Perhaps I missed something in the last couple of month. Did I have
> > > > to change
> > > > something in the setup of openssh?
> > >=20
> > > 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.
> >=20
> > 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).
>=20
> As a final step I rebooted my system (W7, 64 bits, Uising 64-bits Cygwin).
>=20
> I can still connect to the localhost w/ ssh ...
>=20
> But I cannot start and stop the "sshd service" using cygrunsrv.
>=20
> 64-@@ cygrunsrv -E sshd
> cygrunsrv: Error stopping a service: OpenService:  Win32 error 5:
> Access is denied.
>=20
> 64-@@ cygrunsrv -S sshd
> cygrunsrv: Error starting a service: OpenService:  Win32 error 5:
> Access is denied.
>=20
> I have to use the "services applet" from Windows in order to start and
> stop the service.

Elevated shell?


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--8+odlFQADydc3R4z
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxt1tkACgkQ9TYGna5E
T6Ae5g//QY/VCYdoaAvs/cxvbccc7qNTzSHT9bg+w0whUsOVfVxu/UPmtV/VvdOP
wTs5v2yjIH76ynAGts1/oOswO9yoQRb0YO4StGCDWS569onQJPSmwj6gqmeLxkbp
yO3n2ubKu+fTKF7Pode8OSmma/fTfHlDZXQTuSOrnXReEcqLlzKsUHWPZD6V7+x0
byjfpe1NB9yQEYYIEnanKGk+11P/75qL038XaG2C1PXNv14IRmCxA1WxuAa+y62y
KV4H4aCjyElqH+zz7JeiFlmgSwH/w/YeukeeBZ0ly26IxQ4KyupIZhe5lMmBYO0B
2dKIpl5YLl9rOkuiKfs5702Q9v8urTdQY8uOGBS3Iwa1bNrAGmU/cP6S76xgiu0v
6jyIgetPt6k62guV6gVajfENggx7wwJep6Zxop83QJdT8Yy9BrlwoQAbye7n/MH5
YJejZjWxI1Wb0KqIpGGzDK/DffxMWQfsvHvVfw3ePdmUrlkFrywgT9hW8heGKncH
Epk9HCcV7ti3BzrYn1VP3s/5CutBSK8te3EUkeUCPv7LlPJK4bXAmFuHRHYlKOq9
GM7QYh3itgjjmQT+iSV63Ns0NwmRSOtb/rR07ay16KcDPeTPtVm6AKk7JkSRAbIJ
uTrkBpAmeM0khG1t5BqxL5vKThpD0BMsI6j6OoIqbhSbmKxBPiI=
=7ig8
-----END PGP SIGNATURE-----

--8+odlFQADydc3R4z--

- Raw text -


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