Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2003 17:15:17 -0500
From:      Adil Katchi <AdilK@sandvine.com>
To:        "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org>
Subject:   PAM and passwd
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337029120A9@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
I was just wondering if anyone knew about the details of loading PAM.  My
problem is that I need to create a local user account while I am
authenticating using a PAM module.  That is, using some remote
authentication mechanism, if it authenticates a user, I want to create that
user locally on the BSD box and allow the user to log in.  What I'm finding
is that if the user did not already exist before an authentication started,
the overall authentication will fail.  That is, the first time a particular
user tries to log in, because it doesn't exist, it will fail, but subsequent
attempts will pass.

This seems to indicate that the local users' info is loaded at PAM startup.
Is this true?  If so, is there a way to purge that info with the new users'
info?

thanks,

Adil



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