From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6115 invoked by alias); 14 Feb 2014 14:04:00 -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 6101 invoked by uid 89); 14 Feb 2014 14:03:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.0 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; Fri, 14 Feb 2014 14:03:58 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 5EA0552082E; Fri, 14 Feb 2014 15:03:56 +0100 (CET) Date: Fri, 14 Feb 2014 14:05:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Testers needed: New passwd/group handling in Cygwin Message-ID: <20140214140356.GC2246@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <52FD1EDB.8060708@googlemail.com> <52FD3D9C.6020205@tiscali.co.uk> <52FDE9C0.7070002@gmail.com> <20140214101001.GW2246@calimero.vinschen.de> <20140214105038.GA2246@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="F0luChD47DWseN9q" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-02/txt/msg00361.txt.bz2 --F0luChD47DWseN9q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 958 On Feb 14 12:55, Kurt Franke wrote: > Corinna Vinschen cygwin.com> writes: >=20 > > > Indeed. After the discussion yesterday I already realized that we wi= ll > > > need some commandline tool to request passwd and group entries. > > >=20 > > > There is a function called getpw on Linux which allows to fetch a pas= swd > > > entry in the form it has in /etc/passwd: > > >=20 > > > http://linux.die.net/man/3/getpw > >=20 > > Gosh, please ignore this function. It's old and dangerous. Treat this > > mail as if I never mentioned this function, ok? > >=20 > > Corinna > >=20 >=20 > Hi Corinna, >=20 > I think the function family >=20 > getpwent() > getgrent() Sure, but the problem is not to have functions, the problem is to have a tool which can be used from shell scripts. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --F0luChD47DWseN9q Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJS/iJMAAoJEPU2Bp2uRE+gucEP/RAK9e8JbTD6As8lAyvXNBMR hslhLcvY/Lk4Apu3ok8LWngwq4BzYlYgVx50jJkSQjIsUjciL4W3sn9MZ7pu+30Q tzAsNxipTHlkhHHyCgnPeE2bv8OJOYfqY7O7/EaJfWMVjmC5qxKRyL3/RBLopYJb b/hRYJa76wQn3YceZ60GTChn4jQDNyiNWuFNda0cNXqGwUFMD0khrXvZrCpdUWre qbDn21gh4Qs79VBJzmVxSclzXThx+QzxqIm2DMNwrZqUVR8iMxt1jlxbq3g9+StF rIhAGQa2ns2XP0saLtC05OAa0z72XOecLku8cTHsUT/8N09VReW0PeYmTeeJQsh4 Gfv9BOEbRnltDM5o512gRGQfDAEI0OKRVkTegiIOM6NO+kfwFStWy2nh475D8Bbg ED4gcbA+QtFoNVyWgtAxTVn4GS4lG7jc2wB/TVqK46G/Cos2mX9kjqGUJILSKicz RYeDpYjjiQrLPTMku5juPYBpdrMAHmur951LEOu47dtzA4gLAVHYlBfoioV/huj8 ernW+mG6R4VAJ1zVHnB3TD1Fap7FxCySVmVE+7I13ZqlIPLw3xuSofxYS2mVPnty TWg522TAFjeLat+BzU64+JEUuNrlN4B9I9si2mZmynmzj2AIl0Qd9d5VI4AmgUq3 3+2tYpUbf8b0H0d2uwA/ =ZnMp -----END PGP SIGNATURE----- --F0luChD47DWseN9q--