]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Add "NONEXISTENT" to "etc/login.defs"
authorJason Franklin <jason.franklin@quoininc.com>
Fri, 8 May 2020 13:52:34 +0000 (09:52 -0400)
committerJason Franklin <jason.franklin@quoininc.com>
Mon, 11 May 2020 13:26:04 +0000 (09:26 -0400)
etc/login.defs

index a0c3b0d1fd921211541fe56af8dd98d06c314a49..2eef4f2081c5d5fa5e2f5a7e24bd0dae7dba9d0c 100644 (file)
@@ -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.