delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/20/09:55:53

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=jfPZjNvfvET36hFNeHOrCn2Lm6j4916uGaPt9iiZbwF4vmc1wXnzs
SOcVj1XD9CLUlAFI1mPUVpdud8tDRl92DIgCkgfSzURcZeTp8yq+EZIPEPLRKDzQ
TnM9zu12smS/VVDGL+sxG2zcC9Vzm09I9xgHQJa47FToLZZL8pU7Hg=
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=z+sz+nlSyOK5MysXkPADdkoRX6M=; b=RAmkg/i88O05iFKb8Oh4QHBArSYp
v/2g3AnLmhg04+XGVDFYbxwjS94DoLXZ66T6hFPkv2LoPRXHlo6Ov47mwNi9yy9x
N9CLHpM3l8zOZuhE11sTrjbMWrcXSLtkTpTHFhJH94qsc3a+38haDrcNCyaoWobX
JPz0RKYs6NCqOug=
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 15:55:26 +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: <20140220145526.GM2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f27eeb214f1d28a438492cd055c30695 DOT squirrel AT webmail DOT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <f27eeb214f1d28a438492cd055c30695.squirrel@webmail.xs4all.nl>
User-Agent: Mutt/1.5.21 (2010-09-15)

--/CMXFb8mCYhr2S8D
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 20 14:28, J.H. vd Water wrote:
> >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(t=
ape),
> >  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.
>=20
> Agreed, the supplementary groups I observe on Unix are relevant to me ...=
 I know
> that out of experience.
>=20
> The difference is, that all supplementary groups show up in the /etc/grou=
p file on
> my Unix box ...

That's because you're using the files option exclusively on your
Unix box.

> However, as you know, the supplementary group to which I referred above d=
o NOT show
> up in my /etc/group file on Cygwin (they show up in SAM ... somewhere).
>=20
> ... and I do not care, as these groups are NOT relevant to me as a Cygwin=
-only user
> of the Windows operating system (using passwd and group files).

If you only want to use the content of your passwd and group files,
rather than the db (which is pretty much upside down from what this
patch is trying to accomplish, but, anyway), simply change your
/etc/nsswitch.conf file accordingly.  Just as on Linux.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--/CMXFb8mCYhr2S8D
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTBhdeAAoJEPU2Bp2uRE+gacIP/jmKRyV67sY0aOcomUE+hx1o
GhI+VQQgpg7bxJkPGRNrlLoHM1HM8OuJccaOc0EBGVYVs1bG/bX6faBkOL957WZ5
u7+XmuAkdAhSm1Sc/WiwOw2C/cA8aXvCb10zlED/oXYaQUHmjPwCalVgizzMdkmc
tMTAsZfTsPFFpn7yv+FoOZsZpXeo9G94sT+pwLsk2L5KO5TXk5/7/Q8Ss2leCxmA
5Pi3WlEhny/At1jizMZarlmK6kwl/I0TyWpaTqQh9XurQnLmAadYtos2aWl03FXm
boILEwqQ7QAqmtV0Oo5j4/1MGLMdk+TJ/Bwxt9L/TzyXVvsq0I+TOPF0E11Cb/aO
hPUAmAA0ls07rteuZiGOzwcPrr3aJlAVThOgkOWBxbO69pGoRXMzl04sfproOjiY
60dhf4mxX6XzRQOpxO8QgrIz92HiasnsvQnBZxEDJKPWh0Y2oRvdIr66m7isBa22
gc25ppfbYcc/rs/JyJKsT5sYHP6iGV5tvJHZpKIQW7lUDvKj7d4pN8tP3B5aW4iE
YVxlL9/f7m6CwLC+SEY381OBfnnEBtn8i1Uo8wg/72U86BngDgOaS36IS9UBxyMf
l5ZU4HP0AJK4YJdvLhAkeMQc23xFEvaldljj0RwCjgCf11gbG5EmSD1i/8f3NCgK
drRmDYc1ksxX1uCEZTd7
=R03t
-----END PGP SIGNATURE-----

--/CMXFb8mCYhr2S8D--

- Raw text -


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