Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up Apache to check user passwords using these modules:

LoadModule authz_user_module modules/
LoadModule authn_file_module modules/
LoadModule auth_basic_module modules/

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?

share|improve this question
up vote 2 down vote accepted

mod-auth-external plus pwauth.

share|improve this answer

We used mod_auth_pam in the past, but that's kind of old now and it looks like they recommend mod_auth_external now. The latter looks like its been updated in the recent past. Here's their HOWTOs:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.