Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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: http://code.google.com/p/mod-auth-external/w/list

share|improve this answer

Your Answer

 
discard

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.