Note This repository is archived and not under active development.
pam_pythonlibrary seems to support Python 3 now, it is not included in major distributions anymore.
If You do not need the offline functionality, please use
This module is to be used with http://pam-python.sourceforge.net/. It can be used to authenticate with OTP against privacyIDEA. It will also cache future OTP values to enable offline authentication.
To be used like this::
auth requisite pam_python.so /path/to/modules/privacyidea-pam.py
It can take the following parameters:
default is https://localhost
write debug information to the system log
pass additional realm to privacyidea
Do not verify the SSL certificate
The password prompt. Default is "Your OTP".
This is the SQLite file that is used to store the offline authentication information. The default file is /etc/privacyidea/pam.sqlite