On Tue, 2006-02-21 at 11:26 +0100, Manuzhai wrote:
> > AFAIK Linux used md5-hashes.
> 
> Doesn't look like it from my /etc/shadow, it contains all kinds of
> punctuation marks (!, $) that aren't there in your typical md5-hash.

Well, technically MD5 hashes are binary, but they're typically encoded
as base64 or hex.  The hashes used in /etc/shadow and .htpasswd files
use the "crypt()" method, which uses MD5, though it runs through a
variety of iterations of a quite convoluted algorithm and converts it to
ASCII with a non-standard base64 encoding.

However, it seems like Alec's suggestion of using mod_auth_pam has been
overlooked.  Here are suggestions for using it with the /etc/shadow
file: http://pam.sourceforge.net/mod_auth_pam/shadow.html

-- 
Matthew Good <[EMAIL PROTECTED]>

[1]
http://trac-hacks.org/browser/accountmanagerplugin/0.9/acct_mgr/md5crypt.py

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to