All AlmaLinux OS 9 local interactive users must have a home directory assigned in the /etc/passwd file.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-269213 | ALMA-09-015090 | SV-269213r1050095_rule | Medium |
| 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. |
| STIG | Date |
| CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide | 2025-05-22 |
Details
| Check Text (C-73244r1048015_chk) |
| Verify that interactive users on the system have a home directory assigned with the following command: $ awk -F: '($3>=1000)&&($7 !~ /nologin/){print $1, $6}' /etc/passwd simon /home/simon test /home/test testdupe /home/testdupe Inspect the output and verify that all interactive users (normally users with a UID greater that 1000) have a home directory defined. If users home directory is not defined, this is a finding. |
| Fix Text (F-73145r1049322_fix) |
| Create and assign home directories to all local interactive users on AlmaLinux OS 9 that currently do not have a home directory assigned. |