1.4.2 Ensure bootloader password is set - password_pbkdf2

Information

Setting the boot loader password will require that anyone rebooting the system must enter a password before being able to set command line boot parameters

Rationale:

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/menu.lst:

password --md5 <encrypted-password>

Additional Information:

This recommendation is designed around the grub bootloader, if LILO or another bootloader is in use in your environment enact equivalent settings.

See Also

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

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-7(10)

Plugin: Unix

Control ID: 8b6b42c638c4cc64a1782c6cf57c0fcc411ddcf8019b1dd50a11d7beaa7cefbe