Thanks for the replys, however the crypt module, both in python and in c only produces a DES hash of the the password, not the md5 hash. Is there a python interface to PAM? Peter Bates Sent via Deja.com http://www.deja.com/ Before you buy.