checking user passwords

Moshe Zadka moshez at
Mon Mar 27 21:21:47 CEST 2000

On Mon, 27 Mar 2000, Pete Shinners wrote:

> under unix i'd like to verify a username and password.
> i'm not even sure how to do this in any language, but
> i really want to do it with python.
> so how do i check if a users password is correct?

Check out the "pwd" and "crypt" modules.
Moshe Zadka <mzadka at>. -- we put the penguin in .com

More information about the Python-list mailing list