Django pam auth
Project description
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
Release history Release notifications | RSS feed
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
Close
Hashes for django-auth-backend-pam-0.1.0.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22e3def6e9d5ca94d5fd144e4660c347ac1b85d07e7ef18a8c4874e157cd752f |
|
MD5 | afb3317df87c943d9482749ff15fc628 |
|
BLAKE2b-256 | 822f04ea3abe712e5457043d7e59f886f6848835e1424f49cdeb753dcff3d546 |
Close
Hashes for django_auth_backend_pam-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 419bb30f1cb32449e2481ddd26c4a09d46d8b1ecf39fe749354814d74016b943 |
|
MD5 | 5ab749050493b22d6706a417952a2f30 |
|
BLAKE2b-256 | a41771a49229eeec9afaf63269d496bab3aa8ab1fcf7482055a5ad3eab53f919 |