From dec0d8d4958ba8dbad541cd04fd1d45ada88e666 Mon Sep 17 00:00:00 2001 From: Arden97 Date: Fri, 14 Nov 2025 13:34:29 +0100 Subject: [PATCH 1/2] renaming test accounts_root_gid_zero --- .../tests/{other_user_uid_0.fail.sh => other_user_gid_0.fail.sh} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/{other_user_uid_0.fail.sh => other_user_gid_0.fail.sh} (100%) 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_gid_0.fail.sh similarity index 100% rename from linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_uid_0.fail.sh rename to linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_gid_0.fail.sh From 92aecbc4088a5f2943bfcc2271394fa32c9a9998 Mon Sep 17 00:00:00 2001 From: Arden97 Date: Fri, 14 Nov 2025 14:03:27 +0100 Subject: [PATCH 2/2] removing irrelevant comment --- .../accounts_root_gid_zero/tests/other_user_gid_0.fail.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_gid_0.fail.sh b/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_gid_0.fail.sh index dd7ea47d8f3f..5e2919e78fed 100644 --- a/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_gid_0.fail.sh +++ b/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_gid_0.fail.sh @@ -1,7 +1,5 @@ #!/bin/bash # platform = multi_platform_fedora,multi_platform_rhel,multi_platform_ubuntu -# Remediation doesn't fix the rule, only locks passwords -# of non-root accounts with uid 0. # remediation = none useradd --gid 0 root2