Web lists-archives.com

Re: Failed password for invalid user




Hi Andrey,

Thanks for your answer, but I am using password-less authentication
too (with public/private keys), so /etc/password is necessary, isn't
it?
Besides, user alias "miabuela" is working as expected. Why shouldn't
"administrator" alias work as well?

Best,
Jesus

On Fri, Mar 3, 2017 at 2:48 PM, Andrey Repin <anrdaemon@xxxxxxxxx> wrote:
> 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.
>
>
> --
> With best regards,
> Andrey Repin
> Friday, March 3, 2017 16:47:15
>
> 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