3.1 Set User/Group Owner on bootloader config

Information

Set the owner and group of your boot loaders config file to the root user. These
instructions default to GRUB stored at /boot/grub/grub.cfg.

*Rationale*

Setting the owner and group to root prevents non-root users from changing the file.

Solution

Run the following to change ownership of /boot/grub/grub.cfg-# chown root-root /boot/grub/grub.cfg

See Also

https://workbench.cisecurity.org/files/91

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-7(9), CSCv6|3.1

Plugin: Unix

Control ID: 728e581cc5ce725dfeb99e1a49f0931b60b75a80ee27aed7f2b9b56c3de7a766