Re: PAM and passwd

2003-12-15 Thread Dag-Erling Smørgrav
Adil Katchi <[EMAIL PROTECTED]> writes: > This seems to indicate that the local users' info is loaded at PAM startup. > 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

PAM and passwd

2003-12-15 Thread Adil Katchi
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 B