Web lists-archives.com

Re: Failed password for invalid user

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