delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/20/07:05:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=nu663Ilz1m0ObB+0FN4YCGr7cy/RRBMiJ7D2t+q1PjLDR4CEK28pw
wfX8yKEgcI6na69sONx09nmVMumU7W1LGF9kEy0jE6gd2bp7M9WoY+RVWYMaW8Up
e2dhGpN5s5AePMPlQwBDeeh5glb57grFAU4wxmSlLuUFroLpgf0wSU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=mvdNIg1vsLMuxri60FFQhQLoqME=; b=Tc2rBLhELM/Qo+0eCt97Wf4dHrgZ
FNboOiccZZtzTqDhWSdjMz0BFuHnkyNU2QH6RzaKZPKB/8nC83id1BVYo4SgyUpu
VLdhHBhniwmE1+h1OQ8h6sZrwiot9M4MFmL/kfcZU8kalL4rzsS9CABfcx4qrwbN
bmmHBUpln0pAAE0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 20 Feb 2014 13:04:43 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
Message-ID: <20140220120443.GH2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <9ff5abbca992ec60ab4b630be4b2da4d DOT squirrel AT webmail DOT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <9ff5abbca992ec60ab4b630be4b2da4d.squirrel@webmail.xs4all.nl>
User-Agent: Mutt/1.5.21 (2010-09-15)

--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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019