STIGUI
V-281087CAT II — Medium severitySV-281087r1268226_rule

RHEL 10 must enforce "root" ownership of the "/boot/grub2/grub.cfg" file.

Rule version RHEL-10-400350 · STIG v1 · 2026-09-17

Discussion

The " /boot/grub2/grub.cfg" file stores sensitive system configuration. Protection of this file is critical for system security.

Check

Verify RHEL 10 enforces ownership of the "/boot/grub2/grub.cfg" file with the following command:

$ sudo stat -c "%U %n" /boot/grub2/grub.cfg root /boot/grub2/grub.cfg

If the "/boot/grub2/grub.cfg" file does not have an owner of "root", this is a finding.

Fix

Configure RHEL 10 to enforce ownership of the "/boot/grub2/grub.cfg" file.

Change the owner of the "/boot/grub2/grub.cfg" file to "root" by running the following command:

$ sudo chown root /boot/grub2/grub.cfg

Identifiers

Group ID
V-281087
Group title
SRG-OS-000080-GPOS-00048
Rule ID
SV-281087r1268226_rule
Check ID
C-85648r1165614_chk
Fix ID
F-85553r1165615_fix