From fbb73d19532a991c95e2b8f40555968f2a342c60 Mon Sep 17 00:00:00 2001 From: Charles Herlin Date: Thu, 12 Sep 2019 10:55:43 +0200 Subject: [PATCH] Renum 10.x to 5.4.x renamed: bin/hardening/10.5_lock_inactive_user_account.sh -> bin/hardening/5.4.1.4_lock_inactive_user_account.sh renamed: bin/hardening/10.2_disable_system_accounts.sh -> bin/hardening/5.4.2_disable_system_accounts.sh renamed: bin/hardening/10.3_default_root_group.sh -> bin/hardening/5.4.3_default_root_group.sh renamed: bin/hardening/10.4_default_umask.sh -> bin/hardening/5.4.4_default_umask.sh renamed: tests/hardening/10.5_lock_inactive_user_account.sh -> tests/hardening/5.4.1.4_lock_inactive_user_account.sh renamed: tests/hardening/10.2_disable_system_accounts.sh -> tests/hardening/5.4.2_disable_system_accounts.sh renamed: tests/hardening/10.4_default_umask.sh -> tests/hardening/5.4.3_default_root_group.sh renamed: tests/hardening/10.3_default_root_group.sh -> tests/hardening/5.4.4_default_umask.sh --- ...ve_user_account.sh => 5.4.1.4_lock_inactive_user_account.sh} | 2 +- ...able_system_accounts.sh => 5.4.2_disable_system_accounts.sh} | 2 +- .../{10.3_default_root_group.sh => 5.4.3_default_root_group.sh} | 2 +- bin/hardening/{10.4_default_umask.sh => 5.4.4_default_umask.sh} | 2 +- ...ault_root_group.sh => 5.4.1.4_lock_inactive_user_account.sh} | 0 ...able_system_accounts.sh => 5.4.2_disable_system_accounts.sh} | 0 .../{10.4_default_umask.sh => 5.4.3_default_root_group.sh} | 0 ...0.5_lock_inactive_user_account.sh => 5.4.4_default_umask.sh} | 0 8 files changed, 4 insertions(+), 4 deletions(-) rename bin/hardening/{10.5_lock_inactive_user_account.sh => 5.4.1.4_lock_inactive_user_account.sh} (97%) rename bin/hardening/{10.2_disable_system_accounts.sh => 5.4.2_disable_system_accounts.sh} (98%) rename bin/hardening/{10.3_default_root_group.sh => 5.4.3_default_root_group.sh} (95%) rename bin/hardening/{10.4_default_umask.sh => 5.4.4_default_umask.sh} (98%) rename tests/hardening/{10.3_default_root_group.sh => 5.4.1.4_lock_inactive_user_account.sh} (100%) rename tests/hardening/{10.2_disable_system_accounts.sh => 5.4.2_disable_system_accounts.sh} (100%) rename tests/hardening/{10.4_default_umask.sh => 5.4.3_default_root_group.sh} (100%) rename tests/hardening/{10.5_lock_inactive_user_account.sh => 5.4.4_default_umask.sh} (100%) diff --git a/bin/hardening/10.5_lock_inactive_user_account.sh b/bin/hardening/5.4.1.4_lock_inactive_user_account.sh similarity index 97% rename from bin/hardening/10.5_lock_inactive_user_account.sh rename to bin/hardening/5.4.1.4_lock_inactive_user_account.sh index 5843d62..efd5c82 100755 --- a/bin/hardening/10.5_lock_inactive_user_account.sh +++ b/bin/hardening/5.4.1.4_lock_inactive_user_account.sh @@ -5,7 +5,7 @@ # # -# 10.5 Lock Inactive User Accounts (Scored) +# 5.4.1.4 Lock Inactive User Accounts (Scored) # set -e # One error, it's over diff --git a/bin/hardening/10.2_disable_system_accounts.sh b/bin/hardening/5.4.2_disable_system_accounts.sh similarity index 98% rename from bin/hardening/10.2_disable_system_accounts.sh rename to bin/hardening/5.4.2_disable_system_accounts.sh index d46b321..76fedbf 100755 --- a/bin/hardening/10.2_disable_system_accounts.sh +++ b/bin/hardening/5.4.2_disable_system_accounts.sh @@ -5,7 +5,7 @@ # # -# 10.2 Disable System Accounts (Scored) +# 5.4.2 Ensure system accounts are non-login (Scored) # set -e # One error, it's over diff --git a/bin/hardening/10.3_default_root_group.sh b/bin/hardening/5.4.3_default_root_group.sh similarity index 95% rename from bin/hardening/10.3_default_root_group.sh rename to bin/hardening/5.4.3_default_root_group.sh index 3ea043b..f6c7bd1 100755 --- a/bin/hardening/10.3_default_root_group.sh +++ b/bin/hardening/5.4.3_default_root_group.sh @@ -5,7 +5,7 @@ # # -# 10.3 Set Default Group for root Account (Scored) +# 5.4.3 Ensure default group for the root account is GID 0 (Scored) # set -e # One error, it's over diff --git a/bin/hardening/10.4_default_umask.sh b/bin/hardening/5.4.4_default_umask.sh similarity index 98% rename from bin/hardening/10.4_default_umask.sh rename to bin/hardening/5.4.4_default_umask.sh index 2d533f0..2276f27 100755 --- a/bin/hardening/10.4_default_umask.sh +++ b/bin/hardening/5.4.4_default_umask.sh @@ -5,7 +5,7 @@ # # -# 10.4 Set Default umask for Users (Scored) +# 5.4.4 Ensure default user umask is 027 or more restrictive (Scored) # set -e # One error, it's over diff --git a/tests/hardening/10.3_default_root_group.sh b/tests/hardening/5.4.1.4_lock_inactive_user_account.sh similarity index 100% rename from tests/hardening/10.3_default_root_group.sh rename to tests/hardening/5.4.1.4_lock_inactive_user_account.sh diff --git a/tests/hardening/10.2_disable_system_accounts.sh b/tests/hardening/5.4.2_disable_system_accounts.sh similarity index 100% rename from tests/hardening/10.2_disable_system_accounts.sh rename to tests/hardening/5.4.2_disable_system_accounts.sh diff --git a/tests/hardening/10.4_default_umask.sh b/tests/hardening/5.4.3_default_root_group.sh similarity index 100% rename from tests/hardening/10.4_default_umask.sh rename to tests/hardening/5.4.3_default_root_group.sh diff --git a/tests/hardening/10.5_lock_inactive_user_account.sh b/tests/hardening/5.4.4_default_umask.sh similarity index 100% rename from tests/hardening/10.5_lock_inactive_user_account.sh rename to tests/hardening/5.4.4_default_umask.sh