mod_auth_pam

Stephen Adler adler at stephenadler.com
Fri Aug 18 11:44:42 EDT 2006


I tried the system-auth, but the httpd mod_auth_pam could not find the 
appropriate pam modules. :(

[root at qmt0 pam.d]# more httpd
#%PAM-1.0

auth       required     /lib/security/pam_unix.so
account    required     /lib/security/pam_unix.so

#auth       include      system-auth
#account    include      system-auth

the commented out lines were what I tried...


gboyce wrote:
> On Fri, 18 Aug 2006, Stephen Adler wrote:
>
>> I'm running red hat enterprise linux 4.
>>
>>
>> [root at qmt0 init.d]# cat /etc/pam.d/httpd
>> #%PAM-1.0
>> auth       required     /lib/security/pam_unix.so
>> account    required     /lib/security/pam_unix.so
>>
>> it is there....
>
> pam_unix.so handled authentication using /etc/passwd and /etc/shadow.
>
> You most like want system-auth, or a NIS module directly.
>




More information about the Discuss mailing list