Mail Archives: cygwin/2014/02/20/07:05:06
--Z0AzVEOeKznHFuth
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Feb 20 12:24, J.H. vd Water wrote:
> Hi Corinna,
>=20
> >> What I meant was:
> >>
> >> The output of 'id' in my "regular setup" shows:
> >>
> >> @@# id
> >> uid=3D1003(Henri) gid=3D513(None) groups=3D513(None),0(root),544(Admin=
istrators),545(Users)
> >>
> >> The output of 'id' in the "test setup" shows:
> >>
> >> $ id
> >> uid=3D1003(Henri) gid=3D513(None) groups=3D513(None),0(root),545(Users=
),4(+INTERACTIVE),\
> >> 11(+AuthenticatedUsers),4095(CurrentSession),66048(+LOCAL)
> >>
> >> To me the second output is different - but perhaps it is not.
> >
> >It shows groups which are present in your user token, but which are
> >not in your /etc/group file.
>=20
> Now that the XP bug is out of the way ... I would like come back to the c=
hange in
> the output of 'id'.
>=20
> Obviously, everything after '545(Users),' in the output of 'id' are "well=
-known"
> concepts (Windows) to you (but, not to me) ...
I explained that in my mail and I already wrote
http://cygwin.com/cygwin-ug-net/ntsec.html at one point. There are also
links on the MSDN web site which explain how it works. The group concept
in Windows isn't much different from the group concept in Unix, except
that Windows applications don't really care for the owning group of
objects, typically.
> ... and I know Cygwin is not Linux/Unix ...
We're striving for similarity...
> But as an Unix adept, I do not really care about the stuff after '545(Use=
rs),' in
> the output of 'id', especially in case of a passwd file and a group file.
>=20
> To me the stuff after '545(Users),' is ... well, superfluous (most certai=
nly, most
> of the time).
>=20
> Perhaps other users think likewise ...
I don't know about you, but on my Linux box I get something like this:
$ id
uid=3D500(corinna) gid=3D11125(vinschen) groups=3D11125(vinschen),33(tape=
),
100(users),107(qemu),486(wireshark),1000(cvs),11126(libvirt)
Most of the time I don't care about the supplementary groups after my
primary group either, but that doesn't mean I don't want id to print
them, nor are they unimportant.
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--Z0AzVEOeKznHFuth
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJTBe9bAAoJEPU2Bp2uRE+gvaEQAIlDCVrFdfgSE13RChtNNIdA
jhYKxz3QzEwIFRhSJpXxwXnlH36ksCalSvAQRra7HdmtmbjqOih9nnDIeHR5SaKK
zg8kMVMKHXDY0BRNZpMXvjrZJGL78qDDlk5xXKRc1maWIg3uy3SIiX/wl0BaA7nX
0/b8tAXFCHJt+LA+TikbqzkH8EVvcWk3kweAykGxmvUBJ6hfPGwe9szEnabeZsID
KWgshC4asqYRwzLSek0EMEI56ul4I7bUTgQ2FGQP0vCkS2qxL14LYw33vNprqYGD
QC8Uhs6IcG/9EdKW8UcgXz5nMmzjbEdmqyFomM+hKa/0Rd6/0+ADMlII/eOrtBnZ
w5sDa4l7sKWYhOBeHX23qzXWTtPtWYbbxigpiHEHCNMf+vA+fV6H8UXVK1NMJgS+
CCyixB1S9EjGMba6NpTIofJUHMZIx3gw3p+Kv1ukVfyfIOGe7qkjr0YdXFBBPQyw
0GP8GeCxixvQUavtha/1CFrZeMBZVJ5x/hNIxlbOKr6HAD96I3T6jWJOQKaZnKfZ
NfvOFEaHl06cxzo1X5b4LuX/dkEo1OTwcYRezeKRGbK36v5ybAYZV94W44X/Zi2a
N00LkM/GvLPpspZ0jYQf2P3Z88ybTJniFsqJgE7YH4p4yEv06qdfytc+QzTun/s4
jd3dpxUdkCqx2jY5o50E
=/9ie
-----END PGP SIGNATURE-----
--Z0AzVEOeKznHFuth--
- Raw text -