python-pam | A Python interface to the PAM library | Mehr ...
This module makes the PAM (Pluggable Authentication Modules) functions available in Python. With this module you can write Python applications that implement authentication services using PAM.