From 124dde8254739c650f7a7d4bd7c384aa0675ff1c Mon Sep 17 00:00:00 2001 From: Charles Herlin Date: Wed, 11 Sep 2019 12:16:50 +0200 Subject: [PATCH] Renum 9.1.x to 5.1.x cron checks renamed: bin/hardening/9.1.1_enable_cron.sh -> bin/hardening/5.1.1_enable_cron.sh renamed: bin/hardening/9.1.2_crontab_perm_ownership.sh -> bin/hardening/5.1.2_crontab_perm_ownership.sh renamed: bin/hardening/9.1.3_cron_hourly_perm_ownership.sh -> bin/hardening/5.1.3_cron_hourly_perm_ownership.sh renamed: bin/hardening/9.1.4_cron_daily_perm_ownership.sh -> bin/hardening/5.1.4_cron_daily_perm_ownership.sh renamed: bin/hardening/9.1.5_cron_weekly_perm_ownership.sh -> bin/hardening/5.1.5_cron_weekly_perm_ownership.sh renamed: bin/hardening/9.1.6_cron_monthly_perm_ownership.sh -> bin/hardening/5.1.6_cron_monthly_perm_ownership.sh renamed: bin/hardening/9.1.7_cron_d_perm_ownership.sh -> bin/hardening/5.1.7_cron_d_perm_ownership.sh renamed: bin/hardening/9.1.8_cron_users.sh -> bin/hardening/5.1.8_cron_users.sh renamed: tests/hardening/9.1.8_cron_users.sh -> tests/hardening/5.1.1_enable_cron.sh renamed: tests/hardening/9.1.7_cron_d_perm_ownership.sh -> tests/hardening/5.1.2_crontab_perm_ownership.sh renamed: tests/hardening/9.1.6_cron_monthly_perm_ownership.sh -> tests/hardening/5.1.3_cron_hourly_perm_ownership.sh renamed: tests/hardening/9.1.5_cron_weekly_perm_ownership.sh -> tests/hardening/5.1.4_cron_daily_perm_ownership.sh renamed: tests/hardening/9.1.4_cron_daily_perm_ownership.sh -> tests/hardening/5.1.5_cron_weekly_perm_ownership.sh renamed: tests/hardening/9.1.3_cron_hourly_perm_ownership.sh -> tests/hardening/5.1.6_cron_monthly_perm_ownership.sh renamed: tests/hardening/9.1.2_crontab_perm_ownership.sh -> tests/hardening/5.1.7_cron_d_perm_ownership.sh renamed: tests/hardening/9.1.1_enable_cron.sh -> tests/hardening/5.1.8_cron_users.sh --- bin/hardening/{9.1.1_enable_cron.sh => 5.1.1_enable_cron.sh} | 2 +- ...rontab_perm_ownership.sh => 5.1.2_crontab_perm_ownership.sh} | 2 +- ...ly_perm_ownership.sh => 5.1.3_cron_hourly_perm_ownership.sh} | 2 +- ...ily_perm_ownership.sh => 5.1.4_cron_daily_perm_ownership.sh} | 2 +- ...ly_perm_ownership.sh => 5.1.5_cron_weekly_perm_ownership.sh} | 2 +- ...y_perm_ownership.sh => 5.1.6_cron_monthly_perm_ownership.sh} | 2 +- ..._cron_d_perm_ownership.sh => 5.1.7_cron_d_perm_ownership.sh} | 2 +- bin/hardening/{9.1.8_cron_users.sh => 5.1.8_cron_users.sh} | 2 +- tests/hardening/{9.1.1_enable_cron.sh => 5.1.1_enable_cron.sh} | 0 ...rontab_perm_ownership.sh => 5.1.2_crontab_perm_ownership.sh} | 0 ...ly_perm_ownership.sh => 5.1.3_cron_hourly_perm_ownership.sh} | 0 ...ily_perm_ownership.sh => 5.1.4_cron_daily_perm_ownership.sh} | 0 ...ly_perm_ownership.sh => 5.1.5_cron_weekly_perm_ownership.sh} | 0 ...y_perm_ownership.sh => 5.1.6_cron_monthly_perm_ownership.sh} | 0 ..._cron_d_perm_ownership.sh => 5.1.7_cron_d_perm_ownership.sh} | 0 tests/hardening/{9.1.8_cron_users.sh => 5.1.8_cron_users.sh} | 0 16 files changed, 8 insertions(+), 8 deletions(-) rename bin/hardening/{9.1.1_enable_cron.sh => 5.1.1_enable_cron.sh} (97%) rename bin/hardening/{9.1.2_crontab_perm_ownership.sh => 5.1.2_crontab_perm_ownership.sh} (97%) rename bin/hardening/{9.1.3_cron_hourly_perm_ownership.sh => 5.1.3_cron_hourly_perm_ownership.sh} (97%) rename bin/hardening/{9.1.4_cron_daily_perm_ownership.sh => 5.1.4_cron_daily_perm_ownership.sh} (97%) rename bin/hardening/{9.1.5_cron_weekly_perm_ownership.sh => 5.1.5_cron_weekly_perm_ownership.sh} (97%) rename bin/hardening/{9.1.6_cron_monthly_perm_ownership.sh => 5.1.6_cron_monthly_perm_ownership.sh} (97%) rename bin/hardening/{9.1.7_cron_d_perm_ownership.sh => 5.1.7_cron_d_perm_ownership.sh} (97%) rename bin/hardening/{9.1.8_cron_users.sh => 5.1.8_cron_users.sh} (97%) rename tests/hardening/{9.1.1_enable_cron.sh => 5.1.1_enable_cron.sh} (100%) rename tests/hardening/{9.1.2_crontab_perm_ownership.sh => 5.1.2_crontab_perm_ownership.sh} (100%) rename tests/hardening/{9.1.3_cron_hourly_perm_ownership.sh => 5.1.3_cron_hourly_perm_ownership.sh} (100%) rename tests/hardening/{9.1.4_cron_daily_perm_ownership.sh => 5.1.4_cron_daily_perm_ownership.sh} (100%) rename tests/hardening/{9.1.5_cron_weekly_perm_ownership.sh => 5.1.5_cron_weekly_perm_ownership.sh} (100%) rename tests/hardening/{9.1.6_cron_monthly_perm_ownership.sh => 5.1.6_cron_monthly_perm_ownership.sh} (100%) rename tests/hardening/{9.1.7_cron_d_perm_ownership.sh => 5.1.7_cron_d_perm_ownership.sh} (100%) rename tests/hardening/{9.1.8_cron_users.sh => 5.1.8_cron_users.sh} (100%) diff --git a/bin/hardening/9.1.1_enable_cron.sh b/bin/hardening/5.1.1_enable_cron.sh similarity index 97% rename from bin/hardening/9.1.1_enable_cron.sh rename to bin/hardening/5.1.1_enable_cron.sh index 19307af..99e43e5 100755 --- a/bin/hardening/9.1.1_enable_cron.sh +++ b/bin/hardening/5.1.1_enable_cron.sh @@ -5,7 +5,7 @@ # # -# 9.1.1 Enable cron Daemon (Scored) +# 5.1.1 Ensure cron daemon is enabled (Scored) # set -e # One error, it's over diff --git a/bin/hardening/9.1.2_crontab_perm_ownership.sh b/bin/hardening/5.1.2_crontab_perm_ownership.sh similarity index 97% rename from bin/hardening/9.1.2_crontab_perm_ownership.sh rename to bin/hardening/5.1.2_crontab_perm_ownership.sh index 8763f42..e372022 100755 --- a/bin/hardening/9.1.2_crontab_perm_ownership.sh +++ b/bin/hardening/5.1.2_crontab_perm_ownership.sh @@ -5,7 +5,7 @@ # # -# 9.1.2 Set User/Group Owner and Permission on /etc/crontab (Scored) +# 5.1.2 Ensure permissions on /etc/crontab are configured (Scored) # set -e # One error, it's over diff --git a/bin/hardening/9.1.3_cron_hourly_perm_ownership.sh b/bin/hardening/5.1.3_cron_hourly_perm_ownership.sh similarity index 97% rename from bin/hardening/9.1.3_cron_hourly_perm_ownership.sh rename to bin/hardening/5.1.3_cron_hourly_perm_ownership.sh index d3e4614..5acd62a 100755 --- a/bin/hardening/9.1.3_cron_hourly_perm_ownership.sh +++ b/bin/hardening/5.1.3_cron_hourly_perm_ownership.sh @@ -5,7 +5,7 @@ # # -# 9.1.3 Set User/Group Owner and Permission on /etc/cron.hourly (Scored) +# 5.1.3 Ensure permissions on /etc/cron.hourly are configured (Scored) # set -e # One error, it's over diff --git a/bin/hardening/9.1.4_cron_daily_perm_ownership.sh b/bin/hardening/5.1.4_cron_daily_perm_ownership.sh similarity index 97% rename from bin/hardening/9.1.4_cron_daily_perm_ownership.sh rename to bin/hardening/5.1.4_cron_daily_perm_ownership.sh index b8804b7..affc28a 100755 --- a/bin/hardening/9.1.4_cron_daily_perm_ownership.sh +++ b/bin/hardening/5.1.4_cron_daily_perm_ownership.sh @@ -5,7 +5,7 @@ # # -# 9.1.4 Set User/Group Owner and Permission on /etc/cron.daily (Scored) +# 5.1.4 Ensure permissions on /etc/cron.daily are configured (Scored) # set -e # One error, it's over diff --git a/bin/hardening/9.1.5_cron_weekly_perm_ownership.sh b/bin/hardening/5.1.5_cron_weekly_perm_ownership.sh similarity index 97% rename from bin/hardening/9.1.5_cron_weekly_perm_ownership.sh rename to bin/hardening/5.1.5_cron_weekly_perm_ownership.sh index 001ac39..765694d 100755 --- a/bin/hardening/9.1.5_cron_weekly_perm_ownership.sh +++ b/bin/hardening/5.1.5_cron_weekly_perm_ownership.sh @@ -5,7 +5,7 @@ # # -# 9.1.5 Set User/Group Owner and Permission on /etc/cron.weekly (Scored) +# 5.1.5 Ensure permissions on /etc/cron.weekly are configured (Scored) # set -e # One error, it's over diff --git a/bin/hardening/9.1.6_cron_monthly_perm_ownership.sh b/bin/hardening/5.1.6_cron_monthly_perm_ownership.sh similarity index 97% rename from bin/hardening/9.1.6_cron_monthly_perm_ownership.sh rename to bin/hardening/5.1.6_cron_monthly_perm_ownership.sh index 100811d..53e5c23 100755 --- a/bin/hardening/9.1.6_cron_monthly_perm_ownership.sh +++ b/bin/hardening/5.1.6_cron_monthly_perm_ownership.sh @@ -5,7 +5,7 @@ # # -# 9.1.6 Set User/Group Owner and Permission on /etc/cron.monthly (Scored) +# 5.1.6 Ensure permissions on /etc/cron.monthly are configured (Scored) # set -e # One error, it's over diff --git a/bin/hardening/9.1.7_cron_d_perm_ownership.sh b/bin/hardening/5.1.7_cron_d_perm_ownership.sh similarity index 97% rename from bin/hardening/9.1.7_cron_d_perm_ownership.sh rename to bin/hardening/5.1.7_cron_d_perm_ownership.sh index 4300f35..5e3acf0 100755 --- a/bin/hardening/9.1.7_cron_d_perm_ownership.sh +++ b/bin/hardening/5.1.7_cron_d_perm_ownership.sh @@ -5,7 +5,7 @@ # # -# 9.1.7 Set User/Group Owner and Permission on /etc/cron.d (Scored) +# 5.1.7 Ensure permissions on /etc/cron.d are configured (Scored) # set -e # One error, it's over diff --git a/bin/hardening/9.1.8_cron_users.sh b/bin/hardening/5.1.8_cron_users.sh similarity index 97% rename from bin/hardening/9.1.8_cron_users.sh rename to bin/hardening/5.1.8_cron_users.sh index f1a6c97..b5dc5f8 100755 --- a/bin/hardening/9.1.8_cron_users.sh +++ b/bin/hardening/5.1.8_cron_users.sh @@ -5,7 +5,7 @@ # # -# 9.1.8 Restrict at/cron to Authorized Users (Scored) +# 5.1.8 Ensure at/cron is restricted to authorized users (Scored) # set -e # One error, it's over diff --git a/tests/hardening/9.1.1_enable_cron.sh b/tests/hardening/5.1.1_enable_cron.sh similarity index 100% rename from tests/hardening/9.1.1_enable_cron.sh rename to tests/hardening/5.1.1_enable_cron.sh diff --git a/tests/hardening/9.1.2_crontab_perm_ownership.sh b/tests/hardening/5.1.2_crontab_perm_ownership.sh similarity index 100% rename from tests/hardening/9.1.2_crontab_perm_ownership.sh rename to tests/hardening/5.1.2_crontab_perm_ownership.sh diff --git a/tests/hardening/9.1.3_cron_hourly_perm_ownership.sh b/tests/hardening/5.1.3_cron_hourly_perm_ownership.sh similarity index 100% rename from tests/hardening/9.1.3_cron_hourly_perm_ownership.sh rename to tests/hardening/5.1.3_cron_hourly_perm_ownership.sh diff --git a/tests/hardening/9.1.4_cron_daily_perm_ownership.sh b/tests/hardening/5.1.4_cron_daily_perm_ownership.sh similarity index 100% rename from tests/hardening/9.1.4_cron_daily_perm_ownership.sh rename to tests/hardening/5.1.4_cron_daily_perm_ownership.sh diff --git a/tests/hardening/9.1.5_cron_weekly_perm_ownership.sh b/tests/hardening/5.1.5_cron_weekly_perm_ownership.sh similarity index 100% rename from tests/hardening/9.1.5_cron_weekly_perm_ownership.sh rename to tests/hardening/5.1.5_cron_weekly_perm_ownership.sh diff --git a/tests/hardening/9.1.6_cron_monthly_perm_ownership.sh b/tests/hardening/5.1.6_cron_monthly_perm_ownership.sh similarity index 100% rename from tests/hardening/9.1.6_cron_monthly_perm_ownership.sh rename to tests/hardening/5.1.6_cron_monthly_perm_ownership.sh diff --git a/tests/hardening/9.1.7_cron_d_perm_ownership.sh b/tests/hardening/5.1.7_cron_d_perm_ownership.sh similarity index 100% rename from tests/hardening/9.1.7_cron_d_perm_ownership.sh rename to tests/hardening/5.1.7_cron_d_perm_ownership.sh diff --git a/tests/hardening/9.1.8_cron_users.sh b/tests/hardening/5.1.8_cron_users.sh similarity index 100% rename from tests/hardening/9.1.8_cron_users.sh rename to tests/hardening/5.1.8_cron_users.sh