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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=qg2ze7+0PKSiTVqr AVNhvnaNPyhPZso2ZDhCmJ/La13/SmHf9xOM2WAriTVObvq/SmkarDUwF9bD2nkR MlpBgFyoYKS6dUypcnKZJ3MDTNofLUZE2aK7iB7Lsp8qvzGN5M4zCljKW5amOLVr NVixih7DdMgqfgucvhrh088Xl/g= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=zuFiJPGTtVDNHNyvWU0E5C vrqP8=; b=xNX0Z+YnhHPzsENh55M9uQTGmb8bZ4afsQ+bKGQvWj3FZOlxMADEg/ Chggsrv9iB3YqQqHtKjzrvUV0R9RZAAk29ky1dfzVJKYylCpCUA2IjJPmI4fyseE yAcsow6CxuqeCFLUFnpGBgGoiSGmYtHZthY0hQn/AdWCAJYs+vQvk= 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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*i:sk:CAAu54G, H*f:xfL7ySx, H*i:xfL7ySx, H*MI:xfL7ySx X-HELO: forward3j.cmail.yandex.net Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Date: Mon, 6 Mar 2017 12:22:18 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <729026379.20170306122218@yandex.ru> To: jesus san miguel , cygwin AT cygwin DOT com Subject: Re: Failed password for invalid user In-Reply-To: References: <1494533902 DOT 20170303164858 AT yandex DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, jesus san miguel! Please don't top-post in this list. Thank you. > On Fri, Mar 3, 2017 at 2:48 PM, Andrey Repin wrote: And please don't quote raw email addresses. >> Greetings, jesus san miguel! >> >>> I wanted to avoid case sensitive problems by duplicating users in >>> /etc/passwd, >> >> Just delete that file already. >> >>> 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. >> >>> This is an excerpt of /etc/passwd: >> >>> $ 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-3863157116-1840367147-1613345037-500:/home/Administrator:/bin/bash >>> administrator:*:197108:197121:U-SSFE009W2012\Administrator,S-1-5-21-3863157116-1840367147-1613345037-500:/home/Administrator:/bin/bash >> >>> #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 Cygwin >> >>> The error I get in windows log is "Failed password for invalid user >>> administrator" >> >> Cygwin plugs directly into Windows SAM for years already. >> You're just making it hard for yourself. > Thanks for your answer, but I am using password-less authentication > too (with public/private keys), so /etc/password is necessary, isn't > it? For all that I know, all you need is to save your password for the account you want to login with. > Besides, user alias "miabuela" is working as expected. Why shouldn't > "administrator" alias work as well? That's the worst idea I've heard since morning. -- With best regards, Andrey Repin Monday, March 6, 2017 12:20:25 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple