SV-100243r1_rule
V-89593
SRG-OS-000080-GPOS-00048
VRAU-SL-000425
CAT II
10
Run the following command:
# /usr/sbin/grub-md5-crypt
An MD5 password is generated. After the password is supplied, the command supplies the md5 hash output.
Append the password to the "menu.lst" file by running the following command:
echo 'password --md5 <hash from grub-md5-crypt>' >> /boot/grub/menu.lst
Or use yast2 to set the bootloader password.
Open the Boot Loader Installation tab.
Click "Boot Loader Options".
Activate the Protect Boot Loader with Password option with a click and type in the password twice.
Click "OK" twice to save the changes.
To verify a boot password exists, in /boot/grub/menu.lst run the following command:
# grep password /boot/grub/menu.lst
The output should show the following:
password --encrypted $1$[rest-of-the-password-hash]
If it does not, this is a finding.
V-89593
False
VRAU-SL-000425
To verify a boot password exists, in /boot/grub/menu.lst run the following command:
# grep password /boot/grub/menu.lst
The output should show the following:
password --encrypted $1$[rest-of-the-password-hash]
If it does not, this is a finding.
M
3459