1.105 ALMA-09-014540

Information

All AlmaLinux OS 9 local interactive user accounts must be assigned a home directory upon creation.

GROUP ID: V-269208
RULE ID: SV-269208r1050090

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 AlmaLinux OS 9 to assign home directories to all new local interactive users by setting the "CREATE_HOME" parameter in "/etc/login.defs" to "yes" as follows:

CREATE_HOME yes

See Also

https://workbench.cisecurity.org/benchmarks/27039