From owner-freebsd-questions Tue Jun 4 13:58:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-56.dsl.lsan03.pacbell.net [63.207.60.56]) by hub.freebsd.org (Postfix) with ESMTP id BBE3537B407 for ; Tue, 4 Jun 2002 13:58:18 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 42A7A66C49; Tue, 4 Jun 2002 13:58:18 -0700 (PDT) Date: Tue, 4 Jun 2002 13:58:18 -0700 From: Kris Kennaway To: Philip Reynolds Cc: freebsd-questions@FreeBSD.ORG Subject: Re: setpassent Message-ID: <20020604135817.A62978@xor.obsecurity.org> References: <20020604121242.F22893@prodigy.Redbrick.DCU.IE> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020604121242.F22893@prodigy.Redbrick.DCU.IE>; from phil@rfc-networks.ie on Tue, Jun 04, 2002 at 12:12:42PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 04, 2002 at 12:12:42PM +0100, Philip Reynolds wrote: > Hi, >=20 > obviously there is a reason for setpassent() being deprecated I'm > wondering what is the best thing to do to port an application from > Linux to FreeBSD that uses the fgetpwent() function that allows you > to specify an alternate password database to read from. >=20 > What other alternatives to setpassent() exist? Curiosity also brings > me to ask why setpassent() is deprecated (which may answer the > former question as well). Where did you read that setpassent() is deprecated? The manpage only says this: COMPATIBILITY The historic function setpwfile(3), which allowed the specification of alternate password databases, has been deprecated and is no longer ava= il- able. Kris --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8/SnpWry0BWjoQKURAsycAJkBFgcnaLRPCmfUW1uFnuDugtIGuACdH3l7 NxIH6fZ4XMg41xAIGEJnnCs= =3sr8 -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message