Skip to content

The Photon operating system must set the "umask" parameter correctly.

An XCCDF Rule

Description

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.

ID
SV-256583r991590_rule
Version
PHTN-30-000114
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Navigate to and open:

/etc/login.defs

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

UMASK 077