1.157 RHEL-10-400350

Information

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

GROUP ID: V-281087RULE ID: SV-281087r1165616

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

Solution

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

See Also

https://workbench.cisecurity.org/benchmarks/26403