PHTN-30-000114 - The Photon operating system must set the 'umask' parameter correctly.

Information

The 'umask' value influences the permissions assigned to files when they are created. The 'umask' setting in 'login.defs' controls the permissions for a new user's home directory. By setting the proper 'umask', home directories will only allow the new user to read and write files there.

Solution

Navigate to and open:

/etc/login.defs

Ensure the 'UMASK' line is uncommented and set to the following:

UMASK 077

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y25M01_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-256583r991590_rule, STIG-ID|PHTN-30-000114, Vuln-ID|V-256583

Plugin: Unix

Control ID: 91ae47c904718bd3e8d78e039b81ab11c59aee086742ea0b081ccd354acf4357