Validating A User/Password Pair + Getting Groups On Unix

Skip Montanaro skip at pobox.com
Tue Mar 1 16:45:26 CET 2005


    >> 1) Validate that the password is correct for that user *without
    >>    actually logging in*.
    >> 
    Kanenas> The 'pwd' module probably won't be able (and won't try) to read
    Kanenas> the shadow password file, so 'pwd' won't be of use.  

Note that an spwd module was recently added to Python's CVS repository.  I
imagine it will be in 2.5.

Skip



More information about the Python-list mailing list