What you're looking for eixts and is called the "name service switch". Not all Unices have this though. On Linux this depends on what version of libc you have. On Solaris it's been there for some time (at least since 2.5.1). Etc... But I bet that you'll find the getpwnam() interface too old and too inflexible anyways. A new API is needed. Cheers, Nico On Mon, Jun 11, 2001 at 11:59:41AM -0700, Chris Jaeger wrote: > > Actually, having looked through the header > again, perhaps only the getpwnam() function could > be reasonably implemented... > > Chris > > Chris Jaeger wrote: > > > > Hi, > > > > Has anyone considered writing a PAM > > module that implements the interface described > > in /usr/include/pwd.h? That is, a library which > > exports the pwd.h interface, but whose internals > > are written using the PAM interface? e.g. this > > could be considered the pwdb service... > > > > Thanks > > Chris > > > > _______________________________________________ > > > > Pam-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/pam-list > > > > _______________________________________________ > > Pam-list@redhat.com > https://listman.redhat.com/mailman/listinfo/pam-list --