The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Calling all Apache hackers... by nix 2003-05-24 19:43:47
I'm trying to write a Linux PAM module to authenticate based on Apache htpasswd files (called pam_htpasswd). The intention of this is to allow Apache (in conjunction with mod_auth_pam) to use its native authentication system through PAM, so that nifty things like pam_nologin and pam_tally can be used to strengthen authentication without modification to the Apache codebase. A side-effect would be to allow htpasswd authentication for other systems, such as email.

Maybe once I'm done writing this, I'll write a patch on htpasswd to run new passwords through pam, to allow the use of nifty toys like pam_cracklib.

Anyway, is there an API or library anywhere out there for accessing htpasswd files and encrypting htpasswd passwords? Or do I have to dig the appropriate algorithms out of the Apache source and write my own?
[ Reply ]
  Ooh, question... by vyrus2003-05-24 23:09:36

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)