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=I/KTJ8k/nArNIN9pY//cDfVXIs4okNhin6JJpg5spCy02pYuXfpyU dAvmE0Wsl4yt1jTNpfg3c5D8o0P7K0clQF0I0pFk6DbsaeoukkXUmqoy7cG/qi9o iYWF0tnSTYdrIg18q5qu100P+tomVgcNTBDjPzd0PQ4d7zbnH/4I1w= 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=sXQy0waA/7sBbUCL5aKvlvM4izQ=; b=X8zmg40l9Dx42sIABFPlcIApKK4M dR1q1IhRkLGMyLfZZ6+1Hd7TlAh+0VJDgLZ+kYL43LYUj2zRJkULRwZYahi//FKM KP8R8qZLjFdIbtjE0nXpnqc1cxPs6h5ER+oH/TCKO1odAZ9wY4zi4X00rrmveFQ8 FW37HakZgGdJt2I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Fri, 14 Feb 2014 11:50:38 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Testers needed: New passwd/group handling in Cygwin Message-ID: <20140214105038.GA2246@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <52FD1EDB DOT 8060708 AT googlemail DOT com> <52FD3D9C DOT 6020205 AT tiscali DOT co DOT uk> <52FDE9C0 DOT 7070002 AT gmail DOT com> <20140214101001 DOT GW2246 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AJu7IxIPovG6hMTN" Content-Disposition: inline In-Reply-To: <20140214101001.GW2246@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) --AJu7IxIPovG6hMTN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 14 11:10, Corinna Vinschen wrote: > On Feb 14 10:02, Dave Kilroy wrote: > > On 13/02/2014 21:48, David Stacey wrote: > > >On 13/02/2014 19:36, m0viefreak wrote: > > >>Grepping through /bin I found at least one other package > > >>that makes use of /etc/passwd as a file directly (cvsbug), but > > >>since I don't have everything installed I can only assume there > > >>are more cygwin-packages and other programs someone might build > > >>from source. > > > > > >My complete install is proving quite useful this week: > > > > > > chere > > > xhere > > > > > >All of these reference /etc/passwd; some of the above also use > > >/etc/group. > > chere (with the -s passwd) reads etc/passwd and starts the default > > shell of the current user from the explorer context menu. For now, I > > will expect users wanting this functionality to keep > > using/etc/passwd. If we grow a mechanism where the login shell can > > be queried easily, I'll update chere to use that. >=20 > Indeed. After the discussion yesterday I already realized that we will > need some commandline tool to request passwd and group entries. >=20 > There is a function called getpw on Linux which allows to fetch a passwd > entry in the form it has in /etc/passwd: >=20 > http://linux.die.net/man/3/getpw Gosh, please ignore this function. It's old and dangerous. Treat this mail as if I never mentioned this function, ok? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --AJu7IxIPovG6hMTN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJS/fT9AAoJEPU2Bp2uRE+gkYMP/1+JVurEC1M52ETdDeTB1BTx o0IVoavRUOXwsaFnxlQ6wSPkrAv/FdxM4a13gYZJ3heqqsT9SWwwZdEkYLEY0Mvk gPGnmmPdHi3/pUQoKGYuS3Pdvm7oxfICGjyPngynzq3rJy0uswS/YlHUieWZXDu0 XFZbIZkUdtgY6229hnBkyDaxOK4fuJvGmL47EKuj64GNwusMb5PReLA6bmgEd6n4 p3JF1Z8ySZwajtScXZaMZnzKHCuxFIBeDufi4dq0oH2dgOvIqU5E6XY2grnUnnC7 vKyj6WDkk+q7kajJNTana6BFDyl3dSzSXOmFoIQFP8XgbA0deIS8w+lL+XD4OILn vjdrgM70go2Q1coZ/sHUEHxyyJOfMDocVBdITcHRkB12i21y/OjajcuBMylu643/ 8bQoqkmPBSw63BXb94CkSD+oPbSyJIPt0V1jxM03IooJ+f6aniSkk7ymYICn2weY tkhmPv8kPxn0ta/5NIlqewJ5Ef51q6ncB6zd/XzyfrRidcKagWwbuh+VWcTpv+6S bRziCFhh2RAIVbHUl//hA3FZ77B5dIR0ve29GAfq86Nrq1jVNXxKrxmQrDSYXvtK iSaK0AaDM7aBiSPmLv5xH/sMzyJSO+fAxihKDkIPmpA0CDVDw35CQKSZZDlU57m+ /2imN+9ZVzzirbx6oa6y =TXpf -----END PGP SIGNATURE----- --AJu7IxIPovG6hMTN--