md5 passwords

Carey Evans c.evans at
Sat Mar 17 07:57:38 CET 2001

Timothy Grant <tjg at> writes:

> Can anyone explain to me how to use the md5 module to generate
> passwords for the shadow password file?
> I would like to be able to be able to os.system('useradd -p
> md5/crypt username')

Have a look at Michal Wallace's `' module, which should do
this for you:

	 Carey Evans

	    "Quiet, you'll miss the humorous conclusion."

More information about the Python-list mailing list