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

Re: Using system passwords with Apache



Hi Stephen,

i recomend you mod-auth-mysql and mod-auth-ldap. Aditionally you can try testing the digest authentication (MD5) instead of clear text credentials.

BR,

jonathan


Stephen R Laniel wrote:
Right now one of my clients is using a pretty inelegant
system to handle website authentication: as far as I can
tell, they use htpasswd to change the website password
every time the user changes his system password (i.e., the
password used for shell access, email, etc.). The website
password is also unencrypted, so anyone eavesdropping on
their website requests would immediately know their system
password.

So I'd like to do two things for them:

1) Get SSL set up on their site, and
2) Have Apache consult the system-password list for website
   authentication.

An alternative to item 2 is to choose different passwords
for the website than for shell and email access, but that's
more of a nuisance than our clients would want.

So: what's the best way to get Apache to consult the system
password list? A little googling turned up a couple possible
solutions: using PAM somehow (I see Apache::AuthPAM on
CPAN), or mod_auth_sys. Neither seems to be mentioned very
often in Google, which is my measure of authenticity.

What would everyone on here suggest?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: