SV-99131r1_rule
V-88481
SRG-OS-000080-GPOS-00048
VROM-SL-000420
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 your 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-88481
False
VROM-SL-000420
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
3461