From 7d876197446cd8acec66e07444291edf51324c64 Mon Sep 17 00:00:00 2001 From: Thibault Ayanides Date: Tue, 22 Dec 2020 11:43:53 +0100 Subject: [PATCH] Renum 6.x files to comply with debian10 CIS renamed: bin/hardening/6.2.7_users_valid_homedir.sh -> bin/hardening/6.2.3_users_valid_homedir.sh renamed: bin/hardening/6.2.3_remove_legacy_shadow_entries.sh -> bin/hardening/6.2.4_remove_legacy_shadow_entries.sh renamed: bin/hardening/6.2.4_remove_legacy_group_entries.sh -> bin/hardening/6.2.5_remove_legacy_group_entries.sh renamed: bin/hardening/6.2.5_find_0_uid_non_root_account.sh -> bin/hardening/6.2.6_find_0_uid_non_root_account.sh renamed: bin/hardening/6.2.6_sanitize_root_path.sh -> bin/hardening/6.2.7_sanitize_root_path.sh renamed: tests/hardening/6.2.7_users_valid_homedir.sh -> tests/hardening/6.2.3_users_valid_homedir.sh renamed: tests/hardening/6.2.3_remove_legacy_shadow_entries.sh -> tests/hardening/6.2.4_remove_legacy_shadow_entries.sh renamed: tests/hardening/6.2.4_remove_legacy_group_entries.sh -> tests/hardening/6.2.5_remove_legacy_group_entries.sh renamed: tests/hardening/6.2.5_find_0_uid_non_root_account.sh -> tests/hardening/6.2.6_find_0_uid_non_root_account.sh renamed: tests/hardening/6.2.6_sanitize_root_path.sh -> tests/hardening/6.2.7_sanitize_root_path.sh --- ....2.7_users_valid_homedir.sh => 6.2.3_users_valid_homedir.sh} | 2 +- ..._shadow_entries.sh => 6.2.4_remove_legacy_shadow_entries.sh} | 2 +- ...cy_group_entries.sh => 6.2.5_remove_legacy_group_entries.sh} | 2 +- ...non_root_account.sh => 6.2.6_find_0_uid_non_root_account.sh} | 2 +- ...{6.2.6_sanitize_root_path.sh => 6.2.7_sanitize_root_path.sh} | 2 +- ....2.7_users_valid_homedir.sh => 6.2.3_users_valid_homedir.sh} | 0 ..._shadow_entries.sh => 6.2.4_remove_legacy_shadow_entries.sh} | 0 ...cy_group_entries.sh => 6.2.5_remove_legacy_group_entries.sh} | 0 ...non_root_account.sh => 6.2.6_find_0_uid_non_root_account.sh} | 0 ...{6.2.6_sanitize_root_path.sh => 6.2.7_sanitize_root_path.sh} | 0 10 files changed, 5 insertions(+), 5 deletions(-) rename bin/hardening/{6.2.7_users_valid_homedir.sh => 6.2.3_users_valid_homedir.sh} (97%) rename bin/hardening/{6.2.3_remove_legacy_shadow_entries.sh => 6.2.4_remove_legacy_shadow_entries.sh} (96%) rename bin/hardening/{6.2.4_remove_legacy_group_entries.sh => 6.2.5_remove_legacy_group_entries.sh} (96%) rename bin/hardening/{6.2.5_find_0_uid_non_root_account.sh => 6.2.6_find_0_uid_non_root_account.sh} (97%) rename bin/hardening/{6.2.6_sanitize_root_path.sh => 6.2.7_sanitize_root_path.sh} (98%) rename tests/hardening/{6.2.7_users_valid_homedir.sh => 6.2.3_users_valid_homedir.sh} (100%) rename tests/hardening/{6.2.3_remove_legacy_shadow_entries.sh => 6.2.4_remove_legacy_shadow_entries.sh} (100%) rename tests/hardening/{6.2.4_remove_legacy_group_entries.sh => 6.2.5_remove_legacy_group_entries.sh} (100%) rename tests/hardening/{6.2.5_find_0_uid_non_root_account.sh => 6.2.6_find_0_uid_non_root_account.sh} (100%) rename tests/hardening/{6.2.6_sanitize_root_path.sh => 6.2.7_sanitize_root_path.sh} (100%) diff --git a/bin/hardening/6.2.7_users_valid_homedir.sh b/bin/hardening/6.2.3_users_valid_homedir.sh similarity index 97% rename from bin/hardening/6.2.7_users_valid_homedir.sh rename to bin/hardening/6.2.3_users_valid_homedir.sh index e84f100..458049c 100755 --- a/bin/hardening/6.2.7_users_valid_homedir.sh +++ b/bin/hardening/6.2.3_users_valid_homedir.sh @@ -6,7 +6,7 @@ # # -# 6.2.7 Ensure all users' home directories exist (Scored) +# 6.2.3 Ensure all users' home directories exist (Scored) # set -e # One error, it's over diff --git a/bin/hardening/6.2.3_remove_legacy_shadow_entries.sh b/bin/hardening/6.2.4_remove_legacy_shadow_entries.sh similarity index 96% rename from bin/hardening/6.2.3_remove_legacy_shadow_entries.sh rename to bin/hardening/6.2.4_remove_legacy_shadow_entries.sh index 44e78d4..fe58512 100755 --- a/bin/hardening/6.2.3_remove_legacy_shadow_entries.sh +++ b/bin/hardening/6.2.4_remove_legacy_shadow_entries.sh @@ -6,7 +6,7 @@ # # -# 6.2.3 Verify No Legacy "+" Entries Exist in /etc/shadow File (Scored) +# 6.2.4 Verify No Legacy "+" Entries Exist in /etc/shadow File (Scored) # set -e # One error, it's over diff --git a/bin/hardening/6.2.4_remove_legacy_group_entries.sh b/bin/hardening/6.2.5_remove_legacy_group_entries.sh similarity index 96% rename from bin/hardening/6.2.4_remove_legacy_group_entries.sh rename to bin/hardening/6.2.5_remove_legacy_group_entries.sh index f3b6db0..761a759 100755 --- a/bin/hardening/6.2.4_remove_legacy_group_entries.sh +++ b/bin/hardening/6.2.5_remove_legacy_group_entries.sh @@ -6,7 +6,7 @@ # # -# 6.2.4 Verify No Legacy "+" Entries Exist in /etc/group File (Scored) +# 6.2.5 Verify No Legacy "+" Entries Exist in /etc/group File (Scored) # set -e # One error, it's over diff --git a/bin/hardening/6.2.5_find_0_uid_non_root_account.sh b/bin/hardening/6.2.6_find_0_uid_non_root_account.sh similarity index 97% rename from bin/hardening/6.2.5_find_0_uid_non_root_account.sh rename to bin/hardening/6.2.6_find_0_uid_non_root_account.sh index 89a4e7e..1fa7086 100755 --- a/bin/hardening/6.2.5_find_0_uid_non_root_account.sh +++ b/bin/hardening/6.2.6_find_0_uid_non_root_account.sh @@ -6,7 +6,7 @@ # # -# 6.2.5 Ensure root is the only UID 0 account (Scored) +# 6.2.6 Ensure root is the only UID 0 account (Scored) # set -e # One error, it's over diff --git a/bin/hardening/6.2.6_sanitize_root_path.sh b/bin/hardening/6.2.7_sanitize_root_path.sh similarity index 98% rename from bin/hardening/6.2.6_sanitize_root_path.sh rename to bin/hardening/6.2.7_sanitize_root_path.sh index 1b9ca71..67bdccb 100755 --- a/bin/hardening/6.2.6_sanitize_root_path.sh +++ b/bin/hardening/6.2.7_sanitize_root_path.sh @@ -6,7 +6,7 @@ # # -# 6.2.6 Ensure root PATH Integrity (Scored) +# 6.2.7 Ensure root PATH Integrity (Scored) # # set path to the $PATH environnement variable if path is not defined diff --git a/tests/hardening/6.2.7_users_valid_homedir.sh b/tests/hardening/6.2.3_users_valid_homedir.sh similarity index 100% rename from tests/hardening/6.2.7_users_valid_homedir.sh rename to tests/hardening/6.2.3_users_valid_homedir.sh diff --git a/tests/hardening/6.2.3_remove_legacy_shadow_entries.sh b/tests/hardening/6.2.4_remove_legacy_shadow_entries.sh similarity index 100% rename from tests/hardening/6.2.3_remove_legacy_shadow_entries.sh rename to tests/hardening/6.2.4_remove_legacy_shadow_entries.sh diff --git a/tests/hardening/6.2.4_remove_legacy_group_entries.sh b/tests/hardening/6.2.5_remove_legacy_group_entries.sh similarity index 100% rename from tests/hardening/6.2.4_remove_legacy_group_entries.sh rename to tests/hardening/6.2.5_remove_legacy_group_entries.sh diff --git a/tests/hardening/6.2.5_find_0_uid_non_root_account.sh b/tests/hardening/6.2.6_find_0_uid_non_root_account.sh similarity index 100% rename from tests/hardening/6.2.5_find_0_uid_non_root_account.sh rename to tests/hardening/6.2.6_find_0_uid_non_root_account.sh diff --git a/tests/hardening/6.2.6_sanitize_root_path.sh b/tests/hardening/6.2.7_sanitize_root_path.sh similarity index 100% rename from tests/hardening/6.2.6_sanitize_root_path.sh rename to tests/hardening/6.2.7_sanitize_root_path.sh