1.4.2 Ensure bootloader password is set

Information

Requiring a boot password upon execution of the boot loader will prevent an unauthorized user from entering boot parameters or changing the boot partition. This prevents users from weakening security (e.g. turning off SELinux at boot time).

Solution

Create an encrypted password with grub-md5-crypt:
# grub-md5-crypt
Password: <password>
Retype Password: <password>
<encrypted-password>
Copy and paste the <encrypted-password> into the global section of /boot/grub/grub.conf:
password --md5 <encrypted-password>

See Also

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

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

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

Plugin: Unix

Control ID: 0f6525215b2c12de5957f694af9c859ef1a1e6bce55cbe66854b14f56216192f