From: Iker Pedrosa Date: Fri, 22 Nov 2024 09:28:48 +0000 (+0100) Subject: etc/login.defs: enable CREATE_HOME X-Git-Tag: 4.17.3~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcb6b0f4152c1507a137640fea42401a91f22e2c;p=thirdparty%2Fshadow.git etc/login.defs: enable CREATE_HOME In order to have consistent behaviour among all distributions, the same configuration needs to be shared. That is why we are going to use the `etc/login.defs` file and enable CREATE_HOME so that the home dir is created automatically. This is not the default configuration used in all distributions, but it is the most common one. Signed-off-by: Iker Pedrosa --- diff --git a/etc/login.defs b/etc/login.defs index 33622c296..f18d24224 100644 --- a/etc/login.defs +++ b/etc/login.defs @@ -440,7 +440,7 @@ USERGROUPS_ENAB yes # This option is overridden with the -M or -m flags on the useradd(8) # command-line. # -#CREATE_HOME yes +CREATE_HOME yes # # Force use shadow, even if shadow passwd & shadow group files are