mod_auth_pam and apache

Les Mikesell les at futuresource.com
Tue Apr 5 20:46:06 UTC 2005


On Tue, 2005-04-05 at 12:12, Saifa Saifa wrote:

> I am trying to allow system users (/etc/shadow) to
> access certain directories of apache using PAM.
> mod_auth_pam is properly installed. I changed the
> group of /etc/shadow  to shadow-users and correctly
> entered "Group shadow-users" in httpd.conf. Apache is
> starting properly. When I am accessing
> http://localhost/restricted, browser is prompting to
> enter  login and password, but not accepting any login
> or passwd for any user.


> I changed group of /etc/shadow with the following cmd
> chgrp shadow-users /etc/shadow 

Did you also make the file group-readable with:
chmod g+r /etc/shadow
or an equivalent?

-- 
  Les Mikesell
   les at futuresource.com





More information about the Pam-list mailing list