Information
The operating system must be configured so that all local interactive user accounts, upon creation, are assigned a home directory.
Rationale:
If local interactive users are not assigned a valid home directory, there is no place for the storage and control of files they should own.
Solution
Configure the operating system to assign home directories to all new local interactive users by setting the CREATE_HOME parameter in /etc/login.defs to yes as follows.
Example: vim /etc/login.defs
Add, uncomment or update the following line:
CREATE_HOME yes
Notes:
This Benchmark recommendation maps to:
Red Hat Enterprise Linux 7 Security Technical Implementation Guide:
Version 2, Release: 3 Benchmark Date: 26 Apr 2019
Vul ID: V-72013
Rule ID: SV-86637r2_rule
STIG ID: RHEL-07-020610
Severity: CAT II