From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119155 invoked by alias); 7 Mar 2017 16:53:38 -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 118834 invoked by uid 89); 7 Mar 2017 16:53:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.6 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sshd, cyg_server, Administrator, administrator X-HELO: drew.franken.de Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 07 Mar 2017 16:53:36 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 5F4AD721E280C for ; Tue, 7 Mar 2017 17:53:34 +0100 (CET) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id 9A9BD5E01DE for ; Tue, 7 Mar 2017 17:53:33 +0100 (CET) Received: by calimero.vinschen.de (Postfix, from userid 500) id 7E696A803FA; Tue, 7 Mar 2017 17:53:33 +0100 (CET) Date: Tue, 07 Mar 2017 16:53:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Failed password for invalid user Message-ID: <20170307165333.GI17428@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-SW-Source: 2017-03/txt/msg00089.txt.bz2 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1650 On Mar 3 10:03, jesus san miguel wrote: > I am running cygwin 2.7.0 sshd service under a local cyg_server account. >=20 > I wanted to avoid case sensitive problems by duplicating users in > /etc/passwd, but I find mixed results: > I can login as "Administrator", "MYPC+Administrator" and "miabuela", > but not as "administrator" despite all of them being the same Window > user. >=20 > This is an excerpt of /etc/passwd: >=20 > $ cat /etc/passwd | grep 500 > SSFE009W2012+Administrator:*:197108:197121:U-SSFE009W2012\Administrator,S= -1-5-21-3863157116-1840367147-1613345037-500:/home/Administrator:/bin/bash > miabuela:*:197108:197121:U-SSFE009W2012\Administrator,S-1-5-21-3863157116= -1840367147-1613345037-500:/home/Administrator:/bin/bash > Administrator:*:197108:197121:U-SSFE009W2012\Administrator,S-1-5-21-38631= 57116-1840367147-1613345037-500:/home/Administrator:/bin/bash > administrator:*:197108:197121:U-SSFE009W2012\Administrator,S-1-5-21-38631= 57116-1840367147-1613345037-500:/home/Administrator:/bin/bash >=20 > #Administrator@SSFE009W2012 /etc > $ uname -a > CYGWIN_NT-6.3-WOW SSFE009W2012 2.7.0(0.306/5/3) 2017-02-12 13:13 i686 Cyg= win >=20 > The error I get in windows log is "Failed password for invalid user > administrator" >=20 >=20 > Thanks in advance, > Jesus OpenSSH checks the username case-sensitive! So, depending on the order in /etc/passwd you can login either with "Administrator" or with "administrator", whatever comes first and matches the user account. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --FCuugMFkClbJLl1L Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYvuWNAAoJEPU2Bp2uRE+gaVQQAI2oVM3labVw5Z8hvmP2KbNn RjrHsXOfupowEZZWO3o2oKFVdaqJDpW0JNhu7MgafPrGlCe6zIPur0Jgs31Mze4R QNBCNqeQV9EaQho63cysvRli0GhnIEp8O7+TtdGJjfrsEJw648i9aqUWe4cYX8Cl PzQGwr3kjjU5G+5GixbbBqIjsVptoNxT7sI2BJrnbVJiK8qQGJmsuIJdJmMdS45y KkOQkRtPfTT1ZT8x9NUJxZPr9aOaW9zCtW0mxLayd4Qm3SHmTiUbwFlxvpql4uVp wzxdCvAcKniwOLoHbi0jwDHExfoEYRp9yTCvynXQb98xxpTRthDATnBzlCFW4zdd kLvbuhshSR7YeFSi11PrTeWIJX3ZAKF0KYJoAppEQzDaOd33otOr7eV/DmUEj3rz LwVBbzIQE5YYuTrNLyWPS4gP+g03UBOZiq93ZyYPlyEJ0i+q+yJrhSNQjTGAHkYT W2nrjPkdd538t5rHvHFschgPmQK20MTzMx8BGqSMiRi95O+8MG5x6LajsiG7p9bE jpFW1zjf/0MqoRJYJmW75+GrnR7flVYqbRuo/xXMzbdNu+qydCYJV9q3CHGH4irk K+5u9CU06tybbrUQPiRl0ORU1Ro7oHpTZcz1vw9RZ6nEkM86itJMYGJBNoK+32jy tp/r838T+s+uTgT5xHDR =h8Pr -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--