Date: Tue, 4 Jun 2002 13:58:18 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Philip Reynolds <phil@rfc-networks.ie> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: setpassent Message-ID: <20020604135817.A62978@xor.obsecurity.org> In-Reply-To: <20020604121242.F22893@prodigy.Redbrick.DCU.IE>; from phil@rfc-networks.ie on Tue, Jun 04, 2002 at 12:12:42PM %2B0100 References: <20020604121242.F22893@prodigy.Redbrick.DCU.IE>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Tue, Jun 04, 2002 at 12:12:42PM +0100, Philip Reynolds wrote:
> Hi,
>
> 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.
>
> 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 avail-
able.
Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iD8DBQE8/SnpWry0BWjoQKURAsycAJkBFgcnaLRPCmfUW1uFnuDugtIGuACdH3l7
NxIH6fZ4XMg41xAIGEJnnCs=
=3sr8
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020604135817.A62978>
