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://benchmarks.cisecurity.org/tools2/linux/CIS_Ubuntu_12.04_LTS_Server_Benchmark_v1.1.0.pdf

Item Details

Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT

References: 800-53|AC-3, 800-53|CM-6

Plugin: Unix

Control ID: caff801824935d0663659dd4a4048f5f7c07bc5188cdfd87673105024a0c1e64