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=mikzJiNBNSDulkxF4iLTfFSCMXM8NWW8rpC74P5+ZEhksueV0IDQQ MPm8NPW39XcT/WJHGdWrPU9MahXlfYcYEkSVnXfQOGyzZ6gxtijBDaj88zK0YnPM x7MgpS00DySV+BAybDPDDkhllzCjzqSVc5+zIOhQdL6a20zt/xgatY= 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=wfhAi356OlE9ytQaHxvqRuqBUh8=; b=G9sA4C8Lo8qndyXRr49bBjxGq47b kZCWAxvrGhNhgqOoTxicRUYOa+XzC8EBWw+MTgb4cj32YiWEIyPzy5YheNpvSeTI 0ZC1yUfbgHVaUag75ZbqYjNTC3SDfuR5xApjSAx63S9ijx3fO1AZlUKrDdbLK1gL mhbnfFTAnDDq8W4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-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 Date: Tue, 7 Mar 2017 17:53:33 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Failed password for invalid user Message-ID: <20170307165333.GI17428@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT 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) --FCuugMFkClbJLl1L Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 AT 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" -----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--