summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Catalfamo2021-05-29 14:24:33 -0400
committerDante Catalfamo2021-05-29 14:24:33 -0400
commitebe3fc92dd09c73bf009cce5f90bc20932737116 (patch)
tree20ed464cea94f6e562f0a77f0f39a5b872dfcebc
parent8ecea93f9b16bffb716c709fcc32219a9a7d7d21 (diff)
downloadblog-ebe3fc92dd09c73bf009cce5f90bc20932737116.tar.gz
blog-ebe3fc92dd09c73bf009cce5f90bc20932737116.tar.bz2
blog-ebe3fc92dd09c73bf009cce5f90bc20932737116.zip
bsd-auth: add description for _auth_validuser
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org6
1 files changed, 6 insertions, 0 deletions
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: </details> @@
+ =_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: