{"categories":[{"label":"Security","url":"https://skillfed.io/packages/category/security"},{"label":"Authentication/Directory","url":"https://skillfed.io/packages/category/system-systems-administration-authentication-directory"}],"enrichment":{"capability":"Python wrapper for Linux PAM (Pluggable Authentication Modules) that authenticates users against system credentials using ctypes bindings.","skillfed_tags":["linux-pam","system-auth","ctypes-binding"],"use_cases":["Authenticate users in a Python web application or service against system accounts without reimplementing password verification","Build system administration tools that need to verify user credentials as part of access control logic","Integrate PAM authentication into Python-based login or privilege-escalation workflows","Verify user identity in containerized or virtualized environments where system PAM is available","Test PAM service configurations programmatically by authenticating against different PAM services"],"what_it_does":"python-pam is a ctypes-based wrapper around the Linux PAM (Pluggable Authentication Modules) library, allowing Python code to authenticate users against system credentials. It exposes PAM's authentication flow through a simple API: create an authenticator object, call authenticate() with a username and password, and receive a boolean result plus error codes and reason strings.\n\nThe package is designed for system administration and security-focused applications that need to verify user credentials against the system's authentication stack (typically /etc/shadow via pam_unix.so). It has no external runtime dependencies and runs on any Linux/POSIX system with PAM installed. Authentication is subject to privilege constraints: unprivileged code can only verify the current user's credentials, while privileged (root) code can verify any user.","worth_installing":"Yes, if you need to authenticate against Linux system credentials and are comfortable with the privilege model and platform constraints. The package is mature, permissively licensed, has no dependencies, and carries no known vulnerabilities. The 1610-day gap since last release is notable but not disqualifying given the stable nature of PAM itself; verify that ctypes bindings remain compatible with your target systems before deploying."},"id":"python-pam","links":{"html":"https://skillfed.io/packages/python-pam","md":"https://skillfed.io/packages/python-pam.md","pypi":"https://pypi.org/project/python-pam/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-03-18","license_spdx":null,"license_treatment":"permissive","name":"python-pam","python_support":"unspecified","summary":"Python PAM module using ctypes, py3"},"popularity":{"monthly_downloads":2335539,"position":3128,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0.2"}
