diff --git a/linux_os/guide/system/bootloader-grub2/uefi/grub2_uefi_admin_username/oval/shared.xml b/linux_os/guide/system/bootloader-grub2/uefi/grub2_uefi_admin_username/oval/shared.xml index a0a76a222a48..be0882581ff8 100644 --- a/linux_os/guide/system/bootloader-grub2/uefi/grub2_uefi_admin_username/oval/shared.xml +++ b/linux_os/guide/system/bootloader-grub2/uefi/grub2_uefi_admin_username/oval/shared.xml @@ -4,7 +4,6 @@ "The grub2 boot loader superuser should have a username that is hard to guess.") }}} - {{{ oval_file_absent_criterion(grub2_uefi_boot_path + "/grub.cfg") }}} @@ -20,8 +19,6 @@ - {{{ oval_file_absent(grub2_uefi_boot_path + "/grub.cfg") }}} - - {{{ oval_file_absent_criterion(grub2_uefi_boot_path + "/grub.cfg") }}} - - - - - - - + - - {{{ oval_file_absent(grub2_uefi_boot_path + "/grub.cfg") }}} - - - - - - {{{ grub2_uefi_boot_path }}}/grub.cfg - ^[\s]*set[\s]+superusers=("?)[a-zA-Z_]+\1$ - 1 - - + @@ -34,12 +16,4 @@ 1 - - - - - {{{ grub2_uefi_boot_path }}}/grub.cfg - ^[\s]*password_pbkdf2[\s]+.*[\s]+grub\.pbkdf2\.sha512.*$ - 1 - diff --git a/linux_os/guide/system/bootloader-grub2/uefi/grub2_uefi_password/tests/no-grub.pass.sh b/linux_os/guide/system/bootloader-grub2/uefi/grub2_uefi_password/tests/no-grub.pass.sh deleted file mode 100644 index c1dbd91d5be1..000000000000 --- a/linux_os/guide/system/bootloader-grub2/uefi/grub2_uefi_password/tests/no-grub.pass.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -. $SHARED/grub2.sh - -set_grub_uefi_root - -rm -f "$GRUB_CFG_ROOT/grub.cfg" diff --git a/products/ol8/product.yml b/products/ol8/product.yml index a6bd6a78df50..01720f2c0509 100644 --- a/products/ol8/product.yml +++ b/products/ol8/product.yml @@ -17,6 +17,7 @@ pkg_version: "ad986da3" release_key_fingerprint: "76FD3DB13AB67410B89DB10E82562EA9AD986DA3" dconf_gdm_dir: "local.d" +grub2_uefi_boot_path: "/boot/efi/EFI/redhat" oval_feed_url: "https://linux.oracle.com/security/oval/com.oracle.elsa-all.xml.bz2"