PAM interface using ctypes
Pamela: yet another Python wrapper for PAM
There seems to be a glut of Python wrappers for PAM that have since been abandoned. This repo merges two separate efforts:
- adds wrappers for a few more calls, e.g. opening sessions
- raises PamError on failure instead of returning False, with informative error messages
- adds Python 3 support
- resets credentials after authentication, apparently for kerberos users
Both projects appear to be abandoned, with no response to issues or pull requests in at least a year, and I need it for JupyterHub.
pip install pamela
python -m pamela -a `whoami`
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pamela-1.0.0-py2.py3-none-any.whl (5.8 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size pamela-1.0.0.tar.gz (6.7 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for pamela-1.0.0-py2.py3-none-any.whl