summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Catalfamo2020-10-30 18:43:35 -0400
committerDante Catalfamo2020-10-30 18:43:35 -0400
commit81fda606363a54b5d7ba5086c1e127e7b373729e (patch)
tree6e9956585f3e6b95aba55027c289a8dbb8c44724
parentd309fc580e0cc48508674e6832804e2ae1b7e771 (diff)
downloadblog-81fda606363a54b5d7ba5086c1e127e7b373729e.tar.gz
blog-81fda606363a54b5d7ba5086c1e127e7b373729e.tar.bz2
blog-81fda606363a54b5d7ba5086c1e127e7b373729e.zip
What does auth_clrenv do
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org
index 637f2cd..a0d7d4e 100644
--- a/content/posts/WIP-how-bsd-authentication-works/index.org
+++ b/content/posts/WIP-how-bsd-authentication-works/index.org
@@ -625,8 +625,9 @@
#define AUTH_ALLOW (AUTH_OKAY | AUTH_ROOTOKAY | AUTH_SECURE)
#+end_src
- If the status results in a rejection, =auth_clearenv= is called on
- =as=.
+ If the status results in a rejection, =auth_clrenv= is called with
+ =as=. This removes any requests the login script has made to set
+ environment variables from =as->spool=.
=okay= is then returned to the caller.