Could someone help me out here with mod_auth_pam-1.1.1  and Apache?  I would
like to authenticate against /etc/passwd and I can't figure it out.  I tried
to make install on mod_auth_pam and get an error of:

[ -d /etc/pam.d/ -a ! -f /etc/pam.d/httpd ] && install -m 644 -o root -g
root samples/httpd /etc/pam.d/
make: *** [install] Error 1

but I see that the module is loaded in the httpd.conf file and the .so
appears in the path.  I made a /etc/pam.d/httpd file that states:

auth    required        pam_unix.so
account required        pam_unix.so

I tried a directory in the httpd.conf file as such:

    <Directory /var/www/family>
    AuthPAM_Enabled on
    AllowOverride None
    AuthName "Family Secrets"
    AuthType "basic"
    require group family
    </Directory>

and no luck - I got an error stating "AuthPAM_Enabled on" was an incorrect
parameter?  Seems pretty simple, but it's been a pain for me.  I also noted
that there could be problems with /etc/shadow and apache.  Any solid
workarounds?  I suppose create a group and make Apache run as that group


Best regards,

Andrew Judge



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to