Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020604135817.A62978>