Set Boot Loader Password – password

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

*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).

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Create an encrypted password with grub-md5-crypt-# grub-mkpasswd-pbkdf2
Enter password- Reenter password- Your PBKDF2 is Add the following into /etc/grub.d/00_header or a custom /etc/grub.d configuration file-cat <set superusers=’
password_pbkdf2
EOFRun the following to update the grub configuration-# update-grub

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: System and Information Integrity.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles