1.156 RHEL-10-400345

Information

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

GROUP ID: V-281086RULE ID: SV-281086r1165613

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

Solution

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

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

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

See Also

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