The Photon operating system must create a home directory for all new local interactive user accounts.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256545 | SRG-OS-000480-GPOS-00227 | PHTN-30-000075 | SV-256545r991589_rule | 2024-12-16 | 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
At the command line, run the following command:
# grep -i "^create_home" /etc/login.defs
If there is no output or the output does not equal "CREATE_HOME yes", this is a finding.
✔️ Fix
Navigate to and open:
/etc/login.defs
Ensure the following is present and any existing "CREATE_HOME" line is removed:
CREATE_HOME yes