comparison libpam-sys/README.md @ 110:2346fd501b7a

Add tests for constants and do other macro niceties. - Adds tests for all the constants. Pretty sweet. - Moves documentation for cfg-pam-impl macro to `libpam-sys`. - Renames `Illumos` to `Sun`. - other stuff
author Paul Fisher <paul@pfish.zone>
date Sun, 29 Jun 2025 02:15:46 -0400
parents e97534be35e3
children
comparison
equal deleted inserted replaced
109:bb465393621f 110:2346fd501b7a
6 6
7 By default, this crate guesses your system's PAM implementation based upon your OS. 7 By default, this crate guesses your system's PAM implementation based upon your OS.
8 8
9 - Linux: `LinuxPam` 9 - Linux: `LinuxPam`
10 - BSDs, including Mac OS: `OpenPam` 10 - BSDs, including Mac OS: `OpenPam`
11 - Illumos/Solaris: `Illumos` 11 - Illumos/Solaris: `Sun`
12 - Unknown: `OpenPamMinimal` 12 - Unknown: `OpenPamMinimal`
13 13
14 Each implementation exports all the functionality available in its respective PAM library. 14 Each implementation exports all the functionality available in its respective PAM library.
15 `OpenPamMinimal` is a subset that includes only the functions available in the spec, and the constants shared in common between OpenPAM and Illumos' implementation. 15 `OpenPamMinimal` is a subset that includes only the functions available in the spec, and the constants shared in common between OpenPAM and Sun's implementation.
16 16
17 ## References 17 ## References
18 18
19 - [X/SSO PAM specification][xsso]: This 1997 document laid out the original specification for PAM. 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. 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. 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. 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. 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. 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. 25 - [Illumos PAM repository][illumos-pam]: Illumos's implementation of PAM, based on Sun's Solaris. Even more basic than OpenPAM.
26 - [Illumos PAM man page][manillumos]: Illumos's root man page for its PAM implementation. 26 - [Illumos PAM man page][manillumos]: Illumos's root man page for its PAM implementation.
27 27
28 [xsso]: https://pubs.opengroup.org/onlinepubs/8329799/toc.htm 28 [xsso]: https://pubs.opengroup.org/onlinepubs/8329799/toc.htm
29 [linux-pam]: https://github.com/linux-pam/linux-pam 29 [linux-pam]: https://github.com/linux-pam/linux-pam
30 [man7]: https://www.man7.org/linux/man-pages/man8/pam.8.html 30 [man7]: https://www.man7.org/linux/man-pages/man8/pam.8.html