From ebe3fc92dd09c73bf009cce5f90bc20932737116 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Sat, 29 May 2021 14:24:33 -0400 Subject: bsd-auth: add description for _auth_validuser --- content/posts/WIP-how-bsd-authentication-works/index.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'content/posts/WIP-how-bsd-authentication-works') diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org index be2e176..e1a3f33 100644 --- a/content/posts/WIP-how-bsd-authentication-works/index.org +++ b/content/posts/WIP-how-bsd-authentication-works/index.org @@ -2123,6 +2123,12 @@ #+end_src @@html: @@ + =_auth_validuser= is a small helper function used to check if a + username passes some very basic validity criteria. Those being that + it must not be an empty sting, and that it doesn't start with a + dash. + + If a username is invalid, it is logged in the syslog. * COMMENT note :noexport: -- cgit v1.2.3