STIGUI
V-268552CAT II — Medium severitySV-268552r1034596_rule

The macOS system must configure system log files owned by root and group to wheel.

Rule version APPL-15-004030 · STIG v1 · 2026-09-01

Discussion

The system log files must be owned by root.

System logs contain sensitive data about the system and users. Setting log files to be readable and writable only by system administrators mitigates the risk.

Satisfies: SRG-OS-000205-GPOS-00083, SRG-OS-000206-GPOS-00084

Check

Verify the macOS system is configured with system log files owned by root and group to wheel with the following command:

/usr/bin/stat -f '%Su:%Sg:%N' $(/usr/bin/grep -v '^#' /etc/newsyslog.conf | /usr/bin/awk '{ print $1 }') 2> /dev/null | /usr/bin/awk '!/^root:wheel:/{print $1}' | /usr/bin/wc -l | /usr/bin/tr -d ' '

If the result is not "0", this is a finding.

Fix

Configure the macOS system with system log files owned by root and group to wheel with the following command:

/usr/sbin/chown root:wheel $(/usr/bin/stat -f '%Su:%Sg:%N' $(/usr/bin/grep -v '^#' /etc/newsyslog.conf | /usr/bin/awk '{ print $1 }') 2> /dev/null | /usr/bin/awk -F":" '!/^root:wheel:/{print $3}')

Identifiers

Group ID
V-268552
Group title
SRG-OS-000205-GPOS-00083
Rule ID
SV-268552r1034596_rule
Check ID
C-72582r1034594_chk
Fix ID
F-72483r1034595_fix