The Photon operating system must define default permissions for all authenticated users in such a way that the user can only read and modify their own files.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-258856 | PHTN-40-000187 | SV-258856r933629_rule | CCI-000366 | medium |
| Description | ||||
| Setting the most restrictive default permissions ensures that when new accounts are created they do not have unnecessary access. | ||||
| STIG | Date | |||
| VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide | 2023-10-29 | |||
Details
Check Text (C-258856r933629_chk)
At the command line, run the following command to verify the default umask configuration:
# grep '^UMASK' /etc/login.defs
Expected result:
UMASK 077
If the "UMASK" option is not set to "077", is missing or commented out, this is a finding.
Fix Text (F-62505r933628_fix)
Navigate to and open:
/etc/login.defs
Add or update the following line:
UMASK 077