The Photon operating system must create a home directory for all new local interactive user accounts.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-258872 | PHTN-40-000209 | SV-258872r933677_rule | CCI-000366 | 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 | |||
| VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide | 2023-10-29 | |||
Details
Check Text (C-258872r933677_chk)
At the command line, run the following command to verify a home directory is created for all new user accounts:
# grep '^CREATE_HOME' /etc/login.defs
Example result:
CREATE_HOME yes
If the "CREATE_HOME" option is not set to "yes", is missing or commented out, this is a finding.
Fix Text (F-62521r933676_fix)
Navigate to and open:
/etc/login.defs
Add or update the following line:
CREATE_HOME yes