From 81fda606363a54b5d7ba5086c1e127e7b373729e Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Fri, 30 Oct 2020 18:43:35 -0400 Subject: What does auth_clrenv do --- content/posts/WIP-how-bsd-authentication-works/index.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'content/posts') 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. -- cgit v1.2.3