diff --git a/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/oval/shared.xml b/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/oval/shared.xml index 1acc77321a8..b1abe12caf9 100644 --- a/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/oval/shared.xml +++ b/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/oval/shared.xml @@ -3,7 +3,7 @@ {{{ oval_metadata("The root account should have primary group of 0") }}} - {{% if 'ubuntu' in product %}} + {{% if 'ubuntu' in product or 'rhel' in product %}} {{% endif %}} @@ -24,7 +24,7 @@ 0 - {{% if 'ubuntu' in product %}} + {{% if 'ubuntu' in product or 'rhel' in product %}} diff --git a/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_uid_0.fail.sh b/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_uid_0.fail.sh index 483e08812eb..ba82e5ddba0 100644 --- a/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_uid_0.fail.sh +++ b/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_uid_0.fail.sh @@ -1,5 +1,5 @@ #!/bin/bash - +# platform = multi_platform_rhel,multi_platform_ubuntu # Remediation doesn't fix the rule, only locks passwords # of non-root accounts with uid 0. # remediation = none