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

The Photon operating system messages file must have the correct ownership and file permissions.

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

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 and can provide sensitive information to an unprivileged attacker.

Check

At the command line, run the following command:

# stat -c "%n is owned by %U and group owned by %G with %a permissions" /var/log/messages

If the "/var/log/messages" directory is not owned by root or not group owned by root, or the file permissions are more permission than "640", this is a finding.

Fix

At the command line, run the following commands:

# chown root:root /var/log/messages
# chmod 0640 /var/log/messages

Identifiers

Group ID
V-256516
Group title
SRG-OS-000206-GPOS-00084
Rule ID
SV-256516r958566_rule
Check ID
C-60191r887220_chk
Fix ID
F-60134r887221_fix