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.
Release files for django-auth-backend-pam 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-auth-backend-pam-0.1.0.linux-x86_64.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_auth_backend_pam-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 11.3 kB
Release files / django-auth-backend-pam-0.1.0.linux-x86_64.tar.gz
| Download URL | django-auth-backend-pam-0.1.0.linux-x86_64.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22e3def6e9d5ca94d5fd144e4660c347ac1b85d07e7ef18a8c4874e157cd752f
|
|
BLAKE2b-256 checksum How to use checksums |
822f04ea3abe712e5457043d7e59f886f6848835e1424f49cdeb753dcff3d546
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / django_auth_backend_pam-0.1.0-py2.py3-none-any.whl
| Download URL | django_auth_backend_pam-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
419bb30f1cb32449e2481ddd26c4a09d46d8b1ecf39fe749354814d74016b943
|
|
BLAKE2b-256 checksum How to use checksums |
a41771a49229eeec9afaf63269d496bab3aa8ab1fcf7482055a5ad3eab53f919
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|