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=pPIpAooMZTIt8/IuT7c7iFz+S1rZqvu85IZIkokqFF1EkIIMge2Ki icz3LzCjHGD29YQ4O7sgAEGSZAwEk/Jedd+/yGScPz52oSkRd1Mj2yL1VfZYwdV/ +IQvSww1QmIkcDe3QlJEkXYSi8OSsvWYKn16lDUa265mMPLeXSpBXM= 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=9cwWnyc0M5+UBNTfBQVd8lxPjY4=; b=dWhRGEvuhF71aSTFl5EiWWpOXffq pgW9DbHKCAQ1ibv4YWOw5nR7GQYFlez3qBvEtUHBv7bkEPt7uqVeUc+L833TPWLP VcVEFPDTr9wkG6dhZ9s1xkzfDzwit+JmEWVQIXe/YEDlCBijSiJrgSeV7Vq2Lue3 EVIYZPA2rmCQUQ4= 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 10:45:04 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: get rid of getpwent? Message-ID: <20140214094504.GT2246@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <52FABAF5 DOT 2060701 AT etr-usa DOT com> <52FAD730 DOT 9090507 AT redhat DOT com> <20140212090804 DOT GM2821 AT calimero DOT vinschen DOT de> <52FB9E51 DOT 7030607 AT cornell DOT edu> <20140212195931 DOT GA2246 AT calimero DOT vinschen DOT de> <20140212213729 DOT GA5589 AT ednor DOT casa DOT cgf DOT cx> <20140213100025 DOT GB24159 AT calimero DOT vinschen DOT de> <87eh369a24 DOT fsf AT Rainer DOT invalid> <20140213195648 DOT GR2246 AT calimero DOT vinschen DOT de> <87k3cywxsy DOT fsf AT Rainer DOT invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ShzQXCswyqjgWi6k" Content-Disposition: inline In-Reply-To: <87k3cywxsy.fsf@Rainer.invalid> User-Agent: Mutt/1.5.21 (2010-09-15) --ShzQXCswyqjgWi6k Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 13 21:41, Achim Gratz wrote: > Corinna Vinschen writes: > > Oh, hmm. Well, it might be possible, but somehow I'm not excited by the > > idea. While it looks like getpwent is mostly used for this purpose, you > > don't really know it. I think I'll try to implement it fully and then > > let the admin decide what to allow. >=20 > Configurable would be OK of course. I'm not sure when I'll get around > to testing the new snapshot, but I can certainly try how long it takes > when I do "~" in the shell. IIRC, mkpasswd took several minutes to > pull down the domain accounts (I've then deleted all but the handful > that was used for network shares). Keep in mind, the search in getpwent/getgrent is not yet implemented. You only get what the application cached so far. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --ShzQXCswyqjgWi6k Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJS/eWgAAoJEPU2Bp2uRE+gmJEP/ieQ4D+ciVeyksJ91mhgPvBf VPx0uNzLkdmAAFoMRq5+x6nxuF41J44fae+0UagSffsatAhXBBrqxYddKm/NIEsA EqdoJHGkih7vuqyUJcB+FTPl0AAmEGGP5inIprZABDg3X8tBPDfdDTFlnQgUZolP VaWHKdPP2Ybdpt3EjYjP8PoyNCRRKT0Bz8cDznz0SipvScc64x8JrtKa7LX9JnXZ Fl/gxVWW7WTXzT0xvBesAhjWd6TPX9oMu0/brCUtJthUmARJxln4y/oe/ROjilyD iKOheyqNfxEQ4PXQeDLU3+x4QZCFOF/NMrOly9j/vzcgBC3Rkl7xNEhldbk6K1Az 852pPeZTIcZL2En8gr+jYzUh4VEiPX+N6oCS9kby+gSHKl2xPd0bmQgJsvtx4xCw 50ue1rzHYj/h9BYcpG9HrMlgFtsLo5W4oWz0X3TRUIhJhlT1YWljZOY6P5B4ruEi X9mkvM7mJSmb/M6Ibnqe2HHsD2+mCO9tZdPHym0aWrOEwDB8eBbOxtVII6orcUrW gbrEGN4jbMFdf5E/ZX4opGY4Szspuzk5qyFRQdGOdfK4csV0GzCXbUGeRgYcarKG N5YWrdNLzuEJjjDQnvoy3xtdEpyYC1ynTumSpU+emWiIU3jEXuWfYj2Nr84jTo+2 Z9R5NXrEjw7/5MfYjNOz =p8of -----END PGP SIGNATURE----- --ShzQXCswyqjgWi6k--