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: caff801824935d0663659dd4a4048f5f7c07bc5188cdfd87673105024a0c1e64