Re: pwdb and nss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 23, 2001 at 11:57:59AM -0300, Andreas Hasenack wrote:
> Em Wed, Aug 22, 2001 at 04:02:38PM +0900, Junyoung Heo escreveu:
> > It seems that pwdb's action is similiar with nss(use db and shadow part)'s.
> > What's different between nss and pwdb?
> > Is there any advantage use libpwdb instead of glibc functions?
> 
> AFAIK, pwdb emerged when glibc didn't have this nice nss interface

Exactly correct.  The other difference is that pwdb provides an
interface for modifying entries in user databases, while libc doesn't.
I don't believe that that's a facility libc should try to provide,
either.  Some nsswitch modules access read-only data sources, or
sources which are writable, but which shouldn't be written to (for
example, a directory you keep in sync with NIS using migration scripts).

Nalin





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux