checking user passwords

Moshe Zadka moshez at math.huji.ac.il
Mon Mar 27 14:21:47 EST 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 geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list