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 new file mode 100644 index 000000000000..c2226d6fb7f8 --- /dev/null +++ b/linux_os/guide/system/accounts/accounts-restrictions/root_logins/accounts_root_gid_zero/tests/other_user_uid_0.fail.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Remediation doesn't fix the rule, only locks passwords +# of non-root accounts with uid 0. +# remediation = none + +useradd --non-unique --gid 0 root2