Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
Re: mod_auth_pam and apache
From: Les Mikesell (lesfuturesource.com)
Date: Tue Apr 05 2005 - 15:46:06 CDT
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?
Pam-list mailing list