🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

pamela

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pamela

PAM interface using ctypes

1.2.0
PyPI
Maintainers
0

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`

Keywords

pam

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts