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

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=LjIb8td6Ucy8YkZ8IJQ99TRfXgY3rCRop0oaofdD+GnODciU6Fjza
VDptNXbcLAS6J+8JNbM1OfvOCNTqF7SaZy/qO2StmqishsVtM6ImwHYjb8f7gb01
IVlumtHfpOMC6NLv3TiHm1jqsNDIawWwnbWQDxxRax5Ws25LBRgJMc=
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=zef3DMUGD/YvWTYRGdNujSuX+D8=; b=Q3VXSIQHGzWhBZ1nYlwlCvhQkb5c
paciJc6dVazS6SJ5AIXNnGoDnRQTwcmsIDWxR0o9lanTx95Jid6QuH5KoN8WZKxU
jJXFXP4zjy582rRcoMFQlj7WM6IkkUJhckxLu5vMuBF9wHVQbOfIveLuojkocZB4
W3RLzB3rzkf3BVM=
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 20:05:35 +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: <20140220190535.GR2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <83452de9778f617449b61266b2dc0c79 DOT squirrel AT webmail DOT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <83452de9778f617449b61266b2dc0c79.squirrel@webmail.xs4all.nl>
User-Agent: Mutt/1.5.21 (2010-09-15)

--DtJW00gg9Uj+27As
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 20 19:58, J.H. vd Water wrote:
> Hi Corinna,
>=20
> >> However, as you know, the supplementary group to which I referred abov=
e do NOT show
> >> up in my /etc/group file on Cygwin (they show up in SAM ... somewhere).
> >>
> >> ... and I do not care, as these groups are NOT relevant to me as a Cyg=
win-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.
>=20
> :-) My /etc/nsswitch.conf file ALREADY specifies 'db_enum: files'.
>=20
> However, as you probably aware of, the output of 'id' _still_ shows all
> the (non-file ;-) supplementary groups I do not care about ...
>=20
> That is what I tried to make clear with my message. No more.

Try

  passwd: files
  group: files

The output of `id' has nothing to do with the getpwent/getgrent
functionality db_enum is about.


Corinna

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

--DtJW00gg9Uj+27As
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJTBlH/AAoJEPU2Bp2uRE+gw0sP/2tEfixINtOZ3iB6XrNM66N/
w+W4GL8+yjEOZrRVvr/JQRLILoITUv6RoT6/imZPd7d2jsrSjeLTFQrSgxiKmT61
YY7VpkbbiHPbg76jpxLpb7CAVNW93RFcTXFWREvBVNQIyM1lXhtifN8SWUuALYKR
RjfImP+8F8WiJIk9WlWqQK2UciGRPUv7XlAgpG3CODWRE/HQe+ccjfzMjOMqm8ej
KcqEZgLflK1V2N2ehnilwUUv4jNGYxVGdg9BugdPpG61S8gcWSpRIQpwluBM+0/6
H9oc2zpPcZNXxiCijZQPsmguRvEZ9J7gUJoJEC1d7nhIENPF+FSSJ1Xf1TvmIhY8
TNFzvaZYzF5Dr1m9M7IxGvzVo3lIJWrvr1aF8GeUapcBaF97xnTYl7VXYhr8/T0a
2Jsa4UqYPzB82d1k8Vvi1HsWf3mNbcgEpEPiJkkKRrapsjJYFh36UkTytasmZAGp
y0dJOXExWzEhaTLoRpu+uqkcumGBSvYpQsb9c3e1zQsMf1u8qFQBFmcZ2QIJ7TfG
b8U/sK4w+r1LNFosk4l1H6wD0O0UEM0TkAkkSBNc5gILnp4A8VhE+vrk1wygSs0x
M4EF8hPi1f5RkfeIh7SkrfY+5rzaDFqntHI4c1pCGO4/cjncI0f340BKqmhxXfsE
KKnyJRuCkoZjQAW0hbXG
=sJQs
-----END PGP SIGNATURE-----

--DtJW00gg9Uj+27As--

- Raw text -


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