From: Jason Franklin Date: Fri, 8 May 2020 13:52:34 +0000 (-0400) Subject: Add "NONEXISTENT" to "etc/login.defs" X-Git-Tag: v4.9~76^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2f74c347bed962e69f61285beee4bfee11caa05;p=thirdparty%2Fshadow.git Add "NONEXISTENT" to "etc/login.defs" --- diff --git a/etc/login.defs b/etc/login.defs index a0c3b0d1f..2eef4f208 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.