On Thu, Dec 22, 2016 at 06:02:25PM +0000, Aero Maxx D wrote:
Sorry to ask again but I've installed the module, enabled it,
restarted Apache and put my .htaccess file in the folder I'm wanting
to protect, it seems to work as I get the login prompt in my browser.
But I can't login the prompt keeps showing up.
I've looked in /etc/pam.d/ and tried setting AuthPAMService to some
of the files in that folder, but no joy.
It's been a long time since I set this up, and I'm going from memory
and docs rather than testing this, but....
What you want to do is create a _new_ file in /etc/pam.d, named
something like "mywebstuff", and then use "AuthPAMService
mywebstuff".
In /etc/pam.d/mywebstuff, something like:
auth required pam_unix.so debug
account required pam_unix.so debug
You can remove the "debug" once it's working -- that'll write stuff to
syslog that we can check if there's still a problem. :)
--
Matthew Miller
<mattdm(a)fedoraproject.org>
Fedora Project Leader