Linux – How to access Unix passwd file from Apache when using .htaccess

apache-2.2linuxpampassword

Is it possible to use the system passwd file for accessing a protected web page with Apache on Linux? Setting up multiple password files for shell access, Apache and Samba is a pain. If there is a mod for that, it would be handy to know.

Best Answer

mod_auth_external (http://code.google.com/p/mod-auth-external/) can be configured to auth against /etc/shadow