MD5 Passwords and the Python MD5 module

cephas_tpg at my-deja.com cephas_tpg at my-deja.com
Thu Mar 30 00:26:30 EST 2000


I was wondering how to use the Python MD5 module
to create valid passwords for users under redhat
6.1.
The use of the module itself is not a problem,
but the hash produced bears no resemblance to the
hash produced by passwd, and stored
in /etc/shadow.
Before anybody asks, i have read all the man
pages and other doc's i could find, but so far
have found nothing that gives me the exact
definition of the format of the password entries
in /etc/shadow.
Any information on how to use Python to produce
the md5 password hashes, or a way to get around
it, would be greatly appreciated.

Peter Bates
Land Titles Office - NSW Australia


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list