1. Home
  2. Security Hardening
  3. CIS Debian Linux 7 L1 V1.0.0
  4. Set Boot Loader Password – set superusers

Set Boot Loader Password – set superusers

Details

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-mkpasswd-pbkdf2Enter password- Reenter password- Your PBKDF2 is Add the following into /etc/grub.d/00_header or a custom /etc/grub.d configuration file- cat <