From owner-freebsd-questions Tue Jun 4 4:12:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hawk.dcu.ie (mail.dcu.ie [136.206.1.5]) by hub.freebsd.org (Postfix) with ESMTP id 469F837B403 for ; Tue, 4 Jun 2002 04:12:43 -0700 (PDT) Received: from prodigy.redbrick.dcu.ie (136.206.15.10) by hawk.dcu.ie (6.0.040) id 3CC55D79001345A1 for freebsd-questions@freebsd.org; Tue, 4 Jun 2002 12:12:42 +0100 Received: by prodigy.redbrick.dcu.ie (Postfix, from userid 1023) id 4B5F0DA4A; Tue, 4 Jun 2002 12:12:42 +0100 (IST) Date: Tue, 4 Jun 2002 12:12:42 +0100 From: Philip Reynolds To: freebsd-questions@freebsd.org Subject: setpassent Message-ID: <20020604121242.F22893@prodigy.Redbrick.DCU.IE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 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). Regards, -- Philip Reynolds RFC Networks tel: 01 8832063 www.rfc-networks.ie fax: 01 8832041 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message