From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26058 invoked by alias); 20 Feb 2014 19:05:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26002 invoked by uid 89); 20 Feb 2014 19:05:37 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Feb 2014 19:05:37 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 3D43F520414; Thu, 20 Feb 2014 20:05:35 +0100 (CET) Date: Thu, 20 Feb 2014 19:23:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Testers needed: New passwd/group handling in Cygwin Message-ID: <20140220190535.GR2246@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <83452de9778f617449b61266b2dc0c79.squirrel@webmail.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DtJW00gg9Uj+27As" Content-Disposition: inline In-Reply-To: <83452de9778f617449b61266b2dc0c79.squirrel@webmail.xs4all.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-02/txt/msg00566.txt.bz2 --DtJW00gg9Uj+27As Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1239 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 Content-length: 819 -----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--