RHEL 10 must assign a home directory for local interactive user accounts upon creation.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-281171 | SRG-OS-000433-GPOS-00192 | RHEL-10-600120 | SV-281171r1166465_rule | 2026-03-11 | 1 |
Description
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.
ℹ️ Check
Verify RHEL 10 assigns a home directory for local interactive user accounts upon creation with the following command:
$ sudo grep -i create_home /etc/login.defs
CREATE_HOME yes
If the value for "CREATE_HOME" parameter is not set to "yes", the line is missing, or the line is commented out, this is a finding.
✔️ Fix
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