PAM interface using ctypes
Project Links
Meta
Author: Min RK
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Operating System
- POSIX :: Linux
- MacOS :: MacOS X
Programming Language
- Python
Topic
- Software Development :: Libraries :: Python Modules
- System :: Systems Administration :: Authentication/Directory
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:
- gnosek/python-pam
- adds wrappers for a few more calls, e.g. opening sessions
- raises PamError on failure instead of returning False, with informative error messages
- simplepam
- adds Python 3 support
- resets credentials after authentication, apparently for kerberos users
Why?
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.
Use it
Install:
pip install pamela
Test:
python -m pamela -a `whoami`
1.2.0
Aug 09, 2024
1.1.0
Jun 01, 2023
1.0.0
Jan 17, 2019
0.3.0
Nov 21, 2016
0.2.1
Sep 09, 2015
0.2.0
Sep 08, 2015
Wheel compatibility matrix
Files in release
No dependencies