delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/14/13:29:34

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=n4TvcBRw5+e6N3qIe15Duw0lUF+sRINNB1ss93erzWooLZh3/zgl4
FfqQyK2BdNrSV9FOWIfNbiLEwCVfV2J5C0pSO814nSIjSWi5GACazyhJgxTweB8F
2IYWRAhHPTysRgTdoBMYtVwChMAQndHz3W64G2ZHn4wH2OL1SWSgZ4=
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=2d059QdoOOCJk0wf6s/SWjrMAYI=; b=BD5ii4X4toe4IHkfNK793B8zk0WI
rvPIUA6CvpIfKaWBUtJ28/b2/z/KMM9tH2fgpEw4SyEn/JYLLfgAvzgziYmOuH/h
bF5307Sj/qFyxWtgrQp0krlkdoQl8jmWuoJGy5uPuOu32cjL4PNEBp/Vx2/vde/w
CfbtB1eVhwZ2Qrc=
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=-102.5 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
X-HELO: mout.kundenserver.de
Date: Thu, 14 Mar 2019 18:29:18 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sshd: fatal: seteuid XXX : No such device or address
Message-ID: <20190314172918.GJ3785@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <011a01d4da5a$96247330$c26d5990$@giraudbtp.com> <e9e7c00dbd22a379d425097a72aab8a1 AT smtp-cloud8 DOT xs4all DOT net>
MIME-Version: 1.0
In-Reply-To: <e9e7c00dbd22a379d425097a72aab8a1@smtp-cloud8.xs4all.net>
User-Agent: Mutt/1.11.3 (2019-02-01)
Note-from-DJ: This may be spam

--IB/7nB5ie+9rgeRN
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 14 16:53, Houder wrote:
> On Thu, 14 Mar 2019 12:39:30, XXXXX wrote:
> > Hello the list,=20
> >=20
> > Thanks for all the work and effort put into this.
> > Since two days i cannot login anymore (password less) with ssh into my
> > server
> >=20
> > Server is :=20
> > Microsoft Windows Server 2012 R2 Essentials / 6.3.9600 N/A version 9600
> >=20
> > Cygwin was not up to date, but I have since updated it
> > CYGWIN_NT-6.3 [MACHINE NAME] 3.0.3(0.338/5/3) 2019-03-09 19:12 x86_64 C=
ygwin
> >=20
> > 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
> Corinna,
>=20
> As far as I know, seteuid() can either return EINVAL or EPERM in case of
> an error.
>=20
> EPERM (=3D  1) "Operation not permitted"
> EINVAL(=3D 22) "Invalid argument"
>=20
> "No such device or address" appears to correspond to ENXIO (=3D  6). Is it
> sshd, or is it Cygwin, that is confused here?

No confusion as such.  The underlying Windows function returns a NT
status code, which is converted to a Win32 error code by a Windows
function, and that Win32 error code is converted to a POSIX errno by
Cygwin.  There are much more NT status codes than Win32 error codes, and
there are much more Win32 error codses than POSIX errno values, so the
mapping is inevitably unsatisfying.


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--IB/7nB5ie+9rgeRN
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyKj24ACgkQ9TYGna5E
T6ALUw/9GX/PIT1Zupq9Ely3/sjm7RpIdNOpczN1DDXEcrXzbAVQbEJNTcYAzLXG
sFs8r1Oz4Tagtq8d6yxArQYrvHW9od526na8zxRcwlNAFFVrAht5o8Dbcvq7dbL4
7f5sP2CdLnKtDfwrYaZ6syOs8LGJAuz8PdLavvqYAgJZqlr/SaNNBfRhThIzyis9
j821BchP8qCLSt4B+rWf7074VwWN4VKcVc2rmFUOV6gMU8Q5VGm0ZsCfMEoqhoPO
JEbm4YgHYNInQ1+kJY6e8KE+1Tj5V05PoDmsaUR+k2XnrhCq68TpsRUD3AxK7HKf
c7RAAYG9jiHkZHAaJ1tMN7vECkd7BdYgNdIDJ1CaFXY4PM3J6i6+zYnNbQFl+lkw
XLuuRS+ORZpEWx0sJLe/TElDkK03m9QTjO/BfscujE1OYwnM3Qhb15tthlMwENks
wvluvLrYnf3qTJTKRhKdtRq47QuVhV58YD7NISDtOVRdP3H8si1+LpqJ9Sa5qHg1
rST0HSBzVHmc6ETuELoRiuLr6xPccxyG/XrS6A+hmkAiCU7/1vrGzOxSyE0vrL0Y
SUrlPNRcj/W04GQQ8VYObTxEiIQMkqJMvkEG9F2JDGnwB0EmfBwpr2Ror2CG841o
cRdWr1o2LTeFxB6Fd4GVnN+QX8+mgyWbmjU2pYS03SEZRy5rMw4=
=q7TZ
-----END PGP SIGNATURE-----

--IB/7nB5ie+9rgeRN--

- Raw text -


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