STIGUI
V-257790CAT II — Medium severitySV-257790r1268251_rule

RHEL 9 /boot/grub2/grub.cfg file must be group-owned by root.

Rule version RHEL-09-212025 · STIG v2 · 2026-09-17

Discussion

The "root" group is a highly privileged group. Furthermore, the group-owner of this file should not have any access privileges anyway.

Check

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

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

root /boot/grub2/grub.cfg

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

Fix

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

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

Identifiers

Group ID
V-257790
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-257790r1268251_rule
Check ID
C-61531r925355_chk
Fix ID
F-61455r925356_fix