STIGUI
V-258832CAT II — Medium severitySV-258832r958566_rule

The Photon operating system must reveal error messages only to authorized users.

Rule version PHTN-40-000074 · STIG v2 · 2026-08-26

Discussion

Only authorized personnel should be aware of errors and the details of the errors. Error messages are an indicator of an organization's operational state or can identify the operating system or platform. Additionally, Personally Identifiable Information (PII) and operational information must not be revealed through error messages to unauthorized personnel or their designated representatives.

Check

If another package is used to offload logs, such as syslog-ng, and is properly configured, this is not applicable.

At the command line, run the following command to verify rsyslog generates log files that are not world readable:

# grep '^\$umask' /etc/rsyslog.conf

Example result:

$umask 0037

If "$umask" is not set to "0037" or more restrictive, this is a finding.

Fix

Navigate to and open:

/etc/rsyslog.conf

Add or update the following line:

$umask 0037

At the command line, run the following command:

# systemctl restart rsyslog.service

Identifiers

Group ID
V-258832
Group title
SRG-OS-000206-GPOS-00084
Rule ID
SV-258832r958566_rule
Check ID
C-62572r933555_chk
Fix ID
F-62481r933556_fix