This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Failed password for invalid user
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: jesus san miguel <jesus dot sanmiguel at gmail dot com>, cygwin at cygwin dot com
- Date: Mon, 6 Mar 2017 12:22:18 +0300
- Subject: Re: Failed password for invalid user
- Authentication-results: sourceware.org; auth=none
- Authentication-results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru
- References: <CAAu54GAaXfc2y+0n_d4dP9d2owFq+49e-UWKHvRQHM4oDvvu1g@mail.gmail.com> <1494533902.20170303164858@yandex.ru> <CAAu54GCxccTYUHgSeWf1qvwCMyz99atWQzTsY+xfL7ySx+tL=A@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
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 <anrdaemon@xxxx> 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@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