Mercurial > crates > nonstick
comparison libpam-sys/README.md @ 106:49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 26 Jun 2025 22:41:28 -0400 |
parents | |
children | e97534be35e3 |
comparison
equal
deleted
inserted
replaced
105:13b4d2a19674 | 106:49d9e2b5c189 |
---|---|
1 # libpam-sys | |
2 | |
3 This crate provides low-level access to PAM. | |
4 | |
5 ## Options | |
6 | |
7 With no features at all enabled, only the functions specified by the [X/SSO PAM specification][xsso] are available. | |
8 | |
9 - `extras` (enabled by default): Common extensions to PAM, shared by both OpenPAM and Linux-PAM. | |
10 This includes, most notably, `pam_get_authtok`. | |
11 *Illumos does not provide this.* | |
12 - `illumos-ext`: Extensions provided only by Illumos. | |
13 - `linux-pam-ext`: Extensions provided only by Linux-PAM. | |
14 - `openpam-ext`: Extensions provided by OpenPAM. | |
15 - `use-system-headers`: Source constants from your PAM system headers. | |
16 | |
17 ## References | |
18 | |
19 - [X/SSO PAM specification][xsso]: This 1997 document laid out the original specification for PAM. | |
20 - [Linux-PAM repository][linux-pam]: The Linux-PAM implementation, used by most (all?) Linux distributions. Contains many extensions. | |
21 - [Linux-PAM man page][man7]: Root man page for Linux-PAM, with links to additional PAM man pages. | |
22 - [Linux-PAM guides][linux-guides]: Documentation for developers using PAM and sysadmins. | |
23 - [OpenPAM repository][openpam]: The OpenPAM implementation, used by many BSD varieties. This hews very close to the spec. | |
24 - [OpenPAM man page][manbsd]: NetBSD's root man page for OpenPAM. | |
25 - [Illumos PAM repository][illumos-pam]: Illumos's implementation of PAM. Even more basic than OpenPAM. | |
26 - [Illumos PAM man page][manillumos]: Illumos's root man page for its PAM implementation. | |
27 | |
28 [xsso]: https://pubs.opengroup.org/onlinepubs/8329799/toc.htm | |
29 [linux-pam]: https://github.com/linux-pam/linux-pam | |
30 [man7]: https://www.man7.org/linux/man-pages/man8/pam.8.html | |
31 [linux-guides]: https://www.chiark.greenend.org.uk/doc/libpam-doc/html/ | |
32 [openpam]: https://git.des.dev/OpenPAM/OpenPAM | |
33 [manbsd]: https://man.netbsd.org/pam.8 | |
34 [illumos-pam]: https://code.illumos.org/plugins/gitiles/illumos-gate/+/refs/heads/master/usr/src/lib/libpam/ | |
35 [manillumos]: https://illumos.org/man/3PAM/pam |