Skip to content

Commit

Permalink
etc/login.defs: enable CREATE_HOME
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ikerexxe authored and hallyn committed Jan 11, 2025
1 parent b3547f8 commit dcb6b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/login.defs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dcb6b0f

Please sign in to comment.