Django authorization backend with pam¶
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: