1.4.2 Ensure bootloader password is set - password_pbkdf2

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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

See Also

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