Subject: Re: setpwfile() can no longer open alternate password files, why?
To: J.T. Conklin <jconklin@netcom.com>
From: Curt Sampson <curt@portal.ca>
List: netbsd-users
Date: 04/23/1997 21:08:22
jtc writes:

> IMO now that we've added YP (and soon nsswitch), I don't think the system
> passwd functions are appropriate for use for private passwd databases.  I
> would bite the bullet and write my own routines.  A implementation that
> supports only the traditional flat files should be a simple evening 
> project.

Actually, it could be made even simpler by using makemap on your file and
using dbm routines to do the lookup. This should be a one-hour project,
if that.

cjs

Curt Sampson    curt@portal.ca		Info at http://www.portal.ca/
Internet Portal Services, Inc.	
Vancouver, BC   (604) 257-9400		De gustibus, aut bene aut nihil.