password protect apache user directory using system passwords
- by Jeff
I have set up Apache to check user passwords using these modules:
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule auth_basic_module modules/mod_auth_basic.so
However, these modules require me to manually add everyone to a new password file (which requires every user to type in their password).
Is there a way to have Apache check the system passwords, so that anyone who can ssh can use the same password for web login?