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: mkpasswd/mkgroup ... although only helper tools


> 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


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