Common Controls Hub
The Photon operating system must create a home directory for all new local interactive user accounts.
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.
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide
Check Text ( C-42362r675259_chk )
At the command line, execute 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 Text (F-42321r675260_fix)
Open /etc/login.defs with a text editor.
Ensure that the following is present and any existing CREATE_HOME line is removed: