This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mkpasswd/mkgroup ... although only helper tools
- From: "Houder" <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Fri, 28 Nov 2014 12:06:20 +0100
- Subject: Re: mkpasswd/mkgroup ... although only helper tools
- Authentication-results: sourceware.org; auth=none
- References: <1176d13b660c2744d20b6108fc9dc9b4 dot squirrel at webmail dot xs4all dot nl> <20141128091135 dot GK3810 at calimero dot vinschen dot de> <daea7e9c1e7f1f9d23fc910599522ba4 dot squirrel at webmail dot xs4all dot nl> <20141128101427 dot GL3810 at calimero dot vinschen dot de>
> On Nov 28 10:34, Houder wrote:
>> > On Nov 28 09:24, Houder wrote:
>> >> Test:*:197614:197121:Test,U-Seven\Test,S-1-5-21-91509220-1575020443-2714799223-1006:/home/Test:/bin/bash
>> >> ^^^^ <==== gecos field has THREE members (iso two)
>> >
>> > For the gecos content, it's created not the same way in Cygwin vs.
>> > mkpasswd and this won't change. See the thread starting at
>> > https://cygwin.com/ml/cygwin/2014-11/msg00580.html
>>
>> Did you notice the difference between (Guest, Henri) and (Test, UpdatusUser) ?????
>>
>> They are all 'S-1-5-21-X-Y-Z account/SIDs' ... but the gecos field of Guest and Henri only have TWO
>> members ... that is, what is the difference between Henri and Test (both are local accounts, created
>> by me)?
>>
>> That why I said, "to me this output is inconsistent" ...
>
> Yes, that's what I was talking about. mkpasswd generates the first
> field from the "Full Name" SAM entry if it exists, the Cygwin DLL
> doesn't, unless you use the latest snapshot DLL and add
>
> db_gecos: windows
>
> to /etc/nsswitch.conf. Read the mail linked above.
Thank you! I did NOT understand your previous reply ... until (as a consequence of
your reply here) I realized that the account Henri does NOT have a "full name".
(likewise the Guest account)
Yikes!
(during installation of W7, I had to create an account (Henri) -- and I was never
asked for a "full name", as far as I can remember. Never realized that it had no
"full name". Sigh!).
Henri
=====
--
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