This commit is contained in:
2025-07-26 10:10:52 +08:00
parent 9f83969584
commit 81c11d3f30
21 changed files with 1095 additions and 1 deletions

View File

@@ -1,2 +1,25 @@
# pam-rs
pam-rs
========
Rust interface to the pluggable authentication module framework (PAM).
The goal of this library is to provide a type-safe API that can be used to
interact with PAM. The library is incomplete - currently it supports a subset
of functions for use in a pam authentication module. A pam module is a shared
library that is invoked to authenticate a user, or to perform other functions.
## 🌐 [pam-http](pam-http)
An example of using pam-rs by performing HTTP basic access auth to authenticate users.
## 🍻 [pam-sober](pam-sober)
If you aren't sober enough for basic math, you can't login!
### Credits
The contents of this repo are heavily borrowed from:
- [tozny/rust-pam](https://github.com/tozny/rust-pam)
- [ndenev/pam_groupmap](https://github.com/ndenev/pam_groupmap)
- [beatgammit/pam-http](https://github.com/beatgammit/pam-http)