This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "Unknown" user after logging into sshd under Vista


On Friday 05 October 2007 13:07:41 Larry Hall (Cygwin) wrote:
> OK, we now know the symptoms and the problem.  But we don't have any basic
>
> configuration information to do some simple triage with.  In short:
> > Problem reports:       http://cygwin.com/problems.html
>
> Please read and follow the above guidelines, paying particular attention to
> the part about *attaching* cygcheck output.
>
> In the absence of the above, my WAG is that the user you are logging in as
> (domain user perhaps?) is not in your '/etc/passwd' file.  See 'man passwd'
> and the Cygwin Users Guide <http://cygwin.com/cygwin-ug-net/> for more
> details.  Ditto for '/etc/group'.

Okay.

Firstly we have this little error that comes straight after running it:

> [501] daniel@Monolith:~> cygcheck -s -v -r > cygcheck.out
> 'id' program not found
> 'id' program not found

It does then run, but it recurses forever on one of Windows' (many :-/)
recursive registry nodes.  I've attached the portion of the file before
this takes place, in the hope that the stuff which comes after won't be
needed.

/etc/passwd looks like this:

> SYSTEM:*:18:544:,S-1-5-18::
> Administrators:*:544:544:,S-1-5-32-544::
> Administrator:unused_by_nt/2000/xp:500:513:U-Monolith\Administrator,S-1-5-21-387 7142786-2852047967-4020260781-500:/home/Administrator:/bin/bash
> daniel:unused_by_nt/2000/xp:1000:513:U-Monolith\Daniel,S-1-5-21-3877142786-28520 47967-4020260781-1000:/home/daniel:/bin/bash
> Guest:unused_by_nt/2000/xp:501:513:U-Monolith\Guest,S-1-5-21-3877142786-28520479 67-4020260781-501:/home/Guest:/bin/bash
> sshd:unused_by_nt/2000/xp:1001:513:sshd privsep,U-Monolith\sshd,S-1-5-21-3877142786-2852047967-4020260781-1001:/var/empty:/bin/false
> sshd_server:unused_by_nt/2000/xp:1003:513:sshd server account,U-Monolith\sshd_server,S-1-5-21-2403187937-3420309498-450377777-1003:/var/empty:/bin/false

The 'daniel' line exists and does appear to be set to the right user,
except that my username should start with a lowercase d in there but I
tried changing that just now and it didn't make a difference.  Gotta
wonder where it got that capital letter from though, my username all
throughout Windows doesn't have it.

/etc/group has:

> root:S-1-5-32-544:0:
> SYSTEM:S-1-5-18:18:
> None:S-1-5-21-3877142786-2852047967-4020260781-513:513:
> Administrators:S-1-5-32-544:544:
> Backup Operators:S-1-5-32-551:551:
> Cryptographic Operators:S-1-5-32-569:569:
> Distributed COM Users:S-1-5-32-562:562:
> Event Log Readers:S-1-5-32-573:573:
> Guests:S-1-5-32-546:546:
> IIS_IUSRS:S-1-5-32-568:568:
> Network Configuration Operators:S-1-5-32-556:556:
> Performance Log Users:S-1-5-32-559:559:
> Performance Monitor Users:S-1-5-32-558:558:
> Power Users:S-1-5-32-547:547:
> Remote Desktop Users:S-1-5-32-555:555:
> Replicator:S-1-5-32-552:552:
> Users:S-1-5-32-545:545:

Perhaps suspiciously, I'm missing from Users.  But groups doesn't care...

> [516] daniel@Monolith:~> groups
> None root Administrators Users

Daniel

Attachment: trimmed.out
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]