STIGUI
V-256583CAT II — Medium severitySV-256583r991590_rule

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

Rule version PHTN-30-000114 · STIG v1 · 2026-08-31

Discussion

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.

Check

At the command line, run the following command:

# grep ^UMASK /etc/login.defs

Example result:

UMASK 077

If "UMASK" is not configured to "077", this a finding.

Note: "UMASK" should only be specified once in login.defs.

Fix

Navigate to and open:

/etc/login.defs

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

UMASK 077

Identifiers

Group ID
V-256583
Group title
SRG-OS-000480-GPOS-00228
Rule ID
SV-256583r991590_rule
Check ID
C-60258r918967_chk
Fix ID
F-60201r887422_fix