From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38584 invoked by alias); 14 Mar 2019 13:53:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 38577 invoked by uid 89); 14 Mar 2019 13:53:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-102.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=password, device, H*F:D*cygwin.com, services X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.134) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Mar 2019 13:53:39 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MBBCI-1hBbXd25oE-00Ckah; Thu, 14 Mar 2019 14:53:35 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id A8932A80746; Thu, 14 Mar 2019 14:53:34 +0100 (CET) Date: Thu, 14 Mar 2019 13:53:00 -0000 From: Corinna Vinschen To: renaud.rolles@giraudbtp.com Cc: cygwin@cygwin.com Subject: Re: sshd: fatal: seteuid XXX : No such device or address Message-ID: <20190314135334.GH3785@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: renaud.rolles@giraudbtp.com, cygwin@cygwin.com References: <011a01d4da5a$96247330$c26d5990$@giraudbtp.com> <20190314121034.GG3785@calimero.vinschen.de> <014e01d4da69$965ee650$c31cb2f0$@giraudbtp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MdsOjv/FQ+tsWHFo" Content-Disposition: inline In-Reply-To: <014e01d4da69$965ee650$c31cb2f0$@giraudbtp.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-03/txt/msg00369.txt.bz2 --MdsOjv/FQ+tsWHFo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2352 On Mar 14 14:26, renaud.rolles@giraudbtp.com wrote: > >=20 > > On Mar 14 12:39, renaud.rolles@giraudbtp.com wrote: > > > I can login via password, it work and lets me in. > > > But if i tried with my keys, I get in the event viewer : > > > sshd: PID 3777: fatal: seteuid 1049076: No such device or address > >=20 > > - Make sure to login with the Administrator account case-sensitive. > > If your account is called "Administrator", then use an uppercase > > 'A' when logging in. > >=20 > > This case-sensitivity issue is a temporary workaround for a > > potential security problem in OpenSSH. This will be rectified > > with OpenSSH 8.0 which allows to login case-insentive again. >=20 > With Uppercase i do have a login prompt, but (with the good password), I = cant login (remotly or localy). > I also have Information event : > sshd: PID 3788: Login name Administrator does not match stored username a= dministrator As I said above, *if* your account is called Administrator... > sshd: PID 3788: Invalid user Administrator from 10.0.0.8 port 60876 > then three : > sshd: PID 3788: Failed password for invalid user Administrator from 10.0.= 0.8 port 60876 ssh2 >=20 > >=20 > > - If that doesn't help, switch the user running the sshd service from > > "cyg_server" to SYSTEM (the services GUI calls it "LocalSystem") > >=20 >=20 > This worked, like a charm, thank you =F0=9F=98=8A >=20 > > Cygwin switched the logon method and this method doesn't run > > under the "cyg_server" account sometimes. However, switching > > back to "LocalSystem" instead of having to create a special > > "cyg_server" service account is one of the advantages of the > > new logon method. For details, see > >=20 > > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1 > >=20 > I didn't fully understand it all to be honest, but, is there another > drawback to have the localsystem running the deamon instead of the > cyg_server user, other than having the administrator possibly knowing > the password ? The cyg_server account has been introduced many years ago as a workaround for a change in the LocalSystem permissions in=20 Windows 2003 and later. The new S4ULogon method makes the cyg_server account obsolete because the reduced permissions of LocalSystem are sufficient now. Corinna --=20 Corinna Vinschen Cygwin Maintainer --MdsOjv/FQ+tsWHFo Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyKXN4ACgkQ9TYGna5E T6ByohAAgKx7B4v+UpnHERr/qw/kJPQhKwLvfKU5xyiU9Ofus1wbxM76S1bWhTjd SdPYKiCxmGgM8GYx9v0V9qw88fRGN4lIyMLBOaF0rHq64spPKt6BQYbF4iFVeEas GNrZloYWCjdj/GGS+k91CPcjTyIi669QO+pBmkTe7C7nAFQw3ovqW5HudIhrNy66 LEaEsYDgPEaOtYxDfA301QckP8ohaogQfR4qcymf0dgONmtGPt1h711ohS1AhZbZ 0Hps78kMOrNvgtqnlWNobNRTNyygT9LHtdKaf9MBbgOVxrBXK+RNenRl8rvI0Kw7 sv4lrl1t7cl+Y8qalGfmd2Wyu2wAa0xxjxnaO/gTiAdnY89koZydaKvwtX4bW40m 5juoXd4jjfqBCBOzUC3VouYZKWhlWqSwz442T0H+wLImbdBimabS/n6/afgIokpR vUDK6b4BRctctm5xjb6p4X845DYzovFUwqbzkgc1hCF27UyselkCnMN8Ex8wZVgD PLNRTIE3cAgVr7L6q9W24sBpNnymTarc6zqMSFJ42H145mEKFKR7CWcJ2Pm1p0eY fxjb3ew3hBhyL4pYe3qanMQDwYV7Dg4w+geUYlJytPWGhgJ2GU4jQFF548PEIpW9 hYlLt81kPBAfqY+ATCEAOrosmGh7X3XmskaAS96Q/s77GhOfbdA= =GxON -----END PGP SIGNATURE----- --MdsOjv/FQ+tsWHFo--