Description
Python code can be used inside PAM authentication flows. Administrators and developers install this module when login policy needs custom Python logic.
Python in PAM can execute privileged authentication code. Keep scripts minimal, reviewed, and recoverable before enabling them.