All AlmaLinux OS 9 local interactive user accounts must be assigned a home directory upon creation.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-269208 | SRG-OS-000480-GPOS-00230 | ALMA-09-014540 | SV-269208r1050090_rule | 2025-02-20 | 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 all local interactive users on AlmaLinux OS 9 are assigned a home directory upon creation with the following command: $ grep 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 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 |