From e2f74c347bed962e69f61285beee4bfee11caa05 Mon Sep 17 00:00:00 2001 From: Jason Franklin Date: Fri, 8 May 2020 09:52:34 -0400 Subject: [PATCH] Add "NONEXISTENT" to "etc/login.defs" --- etc/login.defs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/etc/login.defs b/etc/login.defs index a0c3b0d1..2eef4f20 100644 --- a/etc/login.defs +++ b/etc/login.defs @@ -295,7 +295,7 @@ CHFN_AUTH yes # any combination of letters "frwh" (full name, room number, work # phone, home phone). If not defined, no changes are allowed. # For backward compatibility, "yes" = "rwh" and "no" = "frwh". -# +# CHFN_RESTRICT rwh # @@ -384,6 +384,14 @@ CHFN_RESTRICT rwh # DEFAULT_HOME yes +# +# The pwck(8) utility emits a warning for any system account with a home +# directory that does not exist. Some system accounts intentionally do +# not have a home directory. Such accounts may have this string as +# their home directory in /etc/passwd to avoid a spurious warning. +# +NONEXISTENT /nonexistent + # # If this file exists and is readable, login environment will be # read from it. Every line should be in the form name=value.