From dcb6b0f4152c1507a137640fea42401a91f22e2c Mon Sep 17 00:00:00 2001 From: Iker Pedrosa Date: Fri, 22 Nov 2024 10:28:48 +0100 Subject: [PATCH] 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 --- etc/login.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3