]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
etc/login.defs: enable CREATE_HOME
authorIker Pedrosa <ipedrosa@redhat.com>
Fri, 22 Nov 2024 09:28:48 +0000 (10:28 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 11 Jan 2025 02:21:07 +0000 (20:21 -0600)
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 <ipedrosa@redhat.com>
etc/login.defs

index 33622c296b26fe333671183c9c83b9cdb9093f92..f18d24224c0a0059f67424b78b19a26582acfbb7 100644 (file)
@@ -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