SV-279542r1192391_rule
V-279542
SRG-OS-000080-GPOS-00048
NXAC-OS-000023
CAT II
10
1. Configure the Nutanix OS VMs to encrypt the boot password for root using the following command.
$ fix_bootloader_pw
2. Follow the prompts to set the password.
Verify the Nutanix OS VMs encrypt the boot password for root using the following command.
$ sudo grep -iw grub2_password /boot/grub2/user.cfg
GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.D5A1D797EFCF694E49691FED9FC586FB5
$ sudo grep -i execstart /usr/lib/systemd/system/rescue.service | grep -i sulogin
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue
If the root password entry does not begin with "grub2_password" or "ExecStart" line is configured for anything other than "/usr/lib/systemd/systemd-sulogin-shell rescue", this is a finding.
V-279542
False
NXAC-OS-000023
Verify the Nutanix OS VMs encrypt the boot password for root using the following command.
$ sudo grep -iw grub2_password /boot/grub2/user.cfg
GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.D5A1D797EFCF694E49691FED9FC586FB5
$ sudo grep -i execstart /usr/lib/systemd/system/rescue.service | grep -i sulogin
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue
If the root password entry does not begin with "grub2_password" or "ExecStart" line is configured for anything other than "/usr/lib/systemd/systemd-sulogin-shell rescue", this is a finding.
M
5730