On 21 Dec 2016, at 19:48, Matthew Miller
<mattdm(a)fedoraproject.org> wrote:
You can use mod_authnz_pam — documented at
https://www.adelton.com/apache/mod_authnz_pam/
This makes me feel a little bit squicky as a former sysadmin. Make sure
that you're at least using https, and make sure your users are at least
aware of phishing attacks.
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.
I expected it to be passwd, as this one takes the longest to show the login prompt again.
It doesn't help that no information as to why shows up in the error_log.