Skip to main content

Django pam auth

Project description

https://badge.fury.io/py/django-auth-backend-pam.svg https://travis-ci.org/dcopm999/django-auth-backend-pam.svg?branch=master https://codecov.io/gh/dcopm999/django-auth-backend-pam/branch/master/graph/badge.svg

Django pam auth

Documentation

The full documentation is at https://django-auth-backend-pam.readthedocs.io.

Quickstart

Install Django authorization backend with pam:

pip install django-auth-backend-pam

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    "auth_backend_pam",
    ...
)

Add PAM_USERS settings

PAM_USERS = {
    "is_active": True,
    "is_staff" : True,
    "is_superuser": True,
}

And add AUTHENTICATION_BACKENDS settings

AUTHENTICATION_BACKENDS = [
    ...
    "auth_backend_pam.backends.PamBackend",
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Development commands

pip install -r requirements_dev.txt
invoke -l

Credits

Tools used in rendering this package:

History

0.1.0 (2022-03-04)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

django_auth_backend_pam-0.1.0-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page