1.240 RHEL-10-600120

Information

RHEL 10 must assign a home directory for local interactive user accounts upon creation.

GROUP ID: V-281171RULE ID: SV-281171r1166465

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 RHEL 10 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/26403