6.2.28 Ensure upon user creation a home directory is assigned.

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

See Also

https://workbench.cisecurity.org/files/2688

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b.

Plugin: Unix

Control ID: da78867dfa95a211a75ad9353f363590ef92d8cc96d25ab5cdee8a7a45c20022