summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Catalfamo2021-05-30 16:48:46 -0400
committerDante Catalfamo2021-05-30 16:48:46 -0400
commitaccdc1daba45ae5588a2e98f1525d7f5012017cb (patch)
treec76e42bebacfaf603a59296b3fa783b63c0b73ab
parenta93761f06eb75fcfaca85582bfb2d1def609ae6d (diff)
downloadblog-accdc1daba45ae5588a2e98f1525d7f5012017cb.tar.gz
blog-accdc1daba45ae5588a2e98f1525d7f5012017cb.tar.bz2
blog-accdc1daba45ae5588a2e98f1525d7f5012017cb.zip
bsd-auth: better wording
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org16
1 files changed, 9 insertions, 7 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org
index 60d84b8..b99232f 100644
--- a/content/posts/WIP-how-bsd-authentication-works/index.org
+++ b/content/posts/WIP-how-bsd-authentication-works/index.org
@@ -28,13 +28,13 @@
OpenBSD is quite different from many other Unix-like operating
systems in many ways, but one way which I find interesting is the
authentication system. Most systems from AIX, Solaris, and Linux to
- most BSDs including MacOS use some form of a system called [[https://en.wikipedia.org/wiki/Pluggable_authentication_module][Pluggable
- Authentication Module]] (PAM). The two main implementations of PAM are
- [[http://www.linux-pam.org/][Linux PAM]] and [[https://www.openpam.org/][OpenPAM]]. PAM modules are created as dynamically loaded
- shared objects, which communicate using a set of somewhat
- standardized interfaces ([[https://linux.die.net/man/3/pam][Linux-PAM]] and [[https://www.freebsd.org/cgi/man.cgi?query=pam&apropos=0&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html][OpenPAM]]). PAM is configured
- using the [[https://linux.die.net/man/5/pam.d][pam.d]] directory and [[https://www.freebsd.org/cgi/man.cgi?query=pam.conf&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports][pam.conf]]. PAM can best be described as
- [[https://www.youtube.com/watch?v=-CXp3byvI1g][unstandardized black magic]].
+ other BSDs including MacOS use some form of a system called
+ [[https://en.wikipedia.org/wiki/Pluggable_authentication_module][Pluggable Authentication Module]] (PAM). The two main implementations
+ are [[http://www.linux-pam.org/][Linux PAM]] and [[https://www.openpam.org/][OpenPAM]]. PAM modules are created as dynamically
+ loaded shared objects, which communicate using a set of somewhat
+ standardized interfaces ([[https://linux.die.net/man/3/pam][Linux-PAM]] and [[https://www.freebsd.org/cgi/man.cgi?query=pam&apropos=0&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html][OpenPAM]]). It's configured
+ using the [[https://linux.die.net/man/5/pam.d][pam.d]] directory for Linux PAM and [[https://www.freebsd.org/cgi/man.cgi?query=pam.conf&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports][pam.conf]] for OpenPAM.
+ PAM can best be described as [[https://www.youtube.com/watch?v=-CXp3byvI1g][unstandardized black magic]].
OpenBSD on the other hand uses a mechanism called BSD
Authentication. It was originally developed for a proprietary
@@ -1589,6 +1589,8 @@
#+end_src
@@html: </details> @@
+ Returns one argument per call.
+
First goes through =as->ap0=, returning one argument at a time
until it hits the =NULL= character pointer. At which point it
calls =va_end(as->ap0)= and [[https://man.openbsd.org/man3/bzero.3#explicit_bzero][=explicit_bzero(3)=]]'s it.