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
File details
Details for the file django-auth-backend-pam-0.1.0.linux-x86_64.tar.gz
.
File metadata
- Download URL: django-auth-backend-pam-0.1.0.linux-x86_64.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22e3def6e9d5ca94d5fd144e4660c347ac1b85d07e7ef18a8c4874e157cd752f |
|
MD5 | afb3317df87c943d9482749ff15fc628 |
|
BLAKE2b-256 | 822f04ea3abe712e5457043d7e59f886f6848835e1424f49cdeb753dcff3d546 |
File details
Details for the file django_auth_backend_pam-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_auth_backend_pam-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 419bb30f1cb32449e2481ddd26c4a09d46d8b1ecf39fe749354814d74016b943 |
|
MD5 | 5ab749050493b22d6706a417952a2f30 |
|
BLAKE2b-256 | a41771a49229eeec9afaf63269d496bab3aa8ab1fcf7482055a5ad3eab53f919 |