Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2003 23:30:38 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Adil Katchi <AdilK@sandvine.com>
Cc:        "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org>
Subject:   Re: PAM and passwd
Message-ID:  <xzpvfoh90j5.fsf@dwp.des.no>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C85337029120A9@mail.sandvine.com> (Adil Katchi's message of "Mon, 15 Dec 2003 17:15:17 -0500")
References:  <FE045D4D9F7AED4CBFF1B3B813C85337029120A9@mail.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adil Katchi <AdilK@sandvine.com> writes:
> This seems to indicate that the local users' info is loaded at PAM startu=
p.
> Is this true?

It depends on the module.  Most PAM modules use getpwnam() to look up
the user, and will fail if it does not exist; some modules don't (for
instance, pam_ldap looks the user up in the LDAP directory even if
nsswitch isn't set up to use LDAP)

You probably want to write your own PAM authentication module to
handle account creation.  Feel free to contact me off-list for further
information on how to do this.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpvfoh90j5.fsf>