SV-244522r1137691_rule
V-244522
SRG-OS-000080-GPOS-00048
RHEL-08-010149
CAT II
10
Configure the system to have a unique name for the grub superusers account.
Edit the /etc/grub.d/01_users file and add or modify the following lines:
set superusers="[someuniquestringhere]"
export superusers
password_pbkdf2 [someuniquestringhere] ${GRUB2_PASSWORD}
Generate a new grub.cfg file with the following command:
$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
For systems that use UEFI, this is Not Applicable.
Verify that a unique name is set as the "superusers" account:
$ sudo grep -iw "superusers" /boot/grub2/grub.cfg
set superusers="[someuniquestringhere]"
export superusers
If "superusers" is identical to any OS account name or is missing a name, this is a finding.
V-244522
False
RHEL-08-010149
For systems that use UEFI, this is Not Applicable.
Verify that a unique name is set as the "superusers" account:
$ sudo grep -iw "superusers" /boot/grub2/grub.cfg
set superusers="[someuniquestringhere]"
export superusers
If "superusers" is identical to any OS account name or is missing a name, this is a finding.
M
2921