Re: Apache Authentication with System Accounts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux