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. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpxv5Q7wZZlT.pgp
Description: PGP signature