RHEL 9 /boot/grub2/grub.cfg file must be group-owned by root.
An XCCDF Rule
Description
The "root" group is a highly privileged group. Furthermore, the group-owner of this file should not have any access privileges anyway.
- ID
- SV-257790r991589_rule
- Version
- RHEL-09-212025
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Change the group of the file /boot/grub2/grub.cfg to root by running the following command:
$ sudo chgrp root /boot/grub2/grub.cfg