1.33 ALMA-09-006290

Information

AlmaLinux OS 9 must require a boot loader password.

GROUP ID: V-269137
RULE ID: SV-269137r1137691

Password protection on the boot loader configuration ensures users with physical access cannot trivially alter important bootloader settings. These include which kernel to use, and whether to enter single-user mode.

Solution

Configure AlmaLinux OS 9 to require a grub bootloader password for the grub superuser account.

Generate an encrypted grub2 password for the grub superuser account with the following command:

$ grub2-setpassword

Enter password:
Confirm password:

See Also

https://workbench.cisecurity.org/benchmarks/27039