Re: unix passwd/group file replacement
Michael Tokarev <[email protected]> Thu, 13 Mar 2003 02:45:11 +0300
| Newsgroups | gmane.comp.djb.cdb |
|---|---|
| Organization | Telecom Service, JSC |
| Message-ID | <[email protected]> |
Gustavo Vieira Gonçalves Coelho Rios wrote: > Hi folks! > > If i would replace unix files like passwd/group with cdb, i would have > to change the reading library interface like getpwuid, getpwnam and the > like! > > Which library should i recode ? You should create new nss module (Name Service Switch) - if your unix supports it (cf. /etc/nsswitch.conf). If not, that's in libc... /mjt