NSS and PAM, dynamic vs. static

Jacques A. Vidrine nectar at FreeBSD.org
Mon Dec 1 06:16:39 PST 2003


On Sat, Nov 29, 2003 at 02:01:02PM +0100, Matthias Andree wrote:
> "Jacques A. Vidrine" <nectar at FreeBSD.org> writes:
> > NSS and PAM do not overlap.
> 
> I wonder how PAM gets "system" authentication information for pam_pwdb
> or pam_unix or how it's called today and on the pertinent system if not
> through NSS. Reimplementation of these "passwd/shadow/whatever"
> mechanisms?

No, PAM uses the system directory services APIs (e.g. getpwnam(3) and
similar).  Those in turn use NSS, on NSS systems.

Cheers,
-- 
Jacques Vidrine   NTT/Verio SME      FreeBSD UNIX       Heimdal
nectar at celabo.org jvidrine at verio.net nectar at freebsd.org nectar at kth.se


More information about the freebsd-current mailing list