From 01ad7e5ffc7285811fa138ae49affe119df5db98 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Mon, 29 Jun 2020 16:50:54 -0400 Subject: More work on auth post, add headings --- .../posts/how-bsd-authentication-works/index.org | 80 +++++++++++++--------- 1 file changed, 48 insertions(+), 32 deletions(-) (limited to 'content') diff --git a/content/posts/how-bsd-authentication-works/index.org b/content/posts/how-bsd-authentication-works/index.org index 35a3fb4..6eae6a5 100644 --- a/content/posts/how-bsd-authentication-works/index.org +++ b/content/posts/how-bsd-authentication-works/index.org @@ -2,13 +2,14 @@ #+DATE: 2020-06-26T18:31:36-04:00 #+DRAFT: true #+DESCRIPTION: -#+TAGS[]: -#+KEYWORDS[]: +#+TAGS[]: openbsd +#+KEYWORDS[]: openbsd #+SLUG: #+SUMMARY: +#+SHOWTOC: true [[https://web.archive.org/web/20170327150148/http://www.penzin.net/bsdauth/]] - +* History 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 @@ -30,32 +31,41 @@ specifically). The program or script has no ability to interfere with the parent and can very easily revoke permissions using =pledge(3)= or =unveil(3)=. +* Why +This one is pretty difficult, since there seems to be very little +information about how BSD Auth works apart from the source code +itself. This is my best attempt to understand the flow of BSD Auth +from what I've read. + + +* BSD Auth Modules These programs or scripts are located in =/usr/libexec/auth/= with the -naming convention =login_