Skip to content

dcopm999/django-auth-backend-pam

Repository files navigation

Django authorization backend with pam

image

image

image

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:

About

Django authorization backend with pam

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published