diff --git a/bin/hardening.sh b/bin/hardening.sh index 15c561e..6c48c0d 100755 --- a/bin/hardening.sh +++ b/bin/hardening.sh @@ -54,11 +54,11 @@ while [[ $# > 0 ]]; do done # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/1.1_install_updates.sh b/bin/hardening/1.1_install_updates.sh index 63acf4d..def8b33 100755 --- a/bin/hardening/1.1_install_updates.sh +++ b/bin/hardening/1.1_install_updates.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/10.1.1_set_password_exp_days.sh b/bin/hardening/10.1.1_set_password_exp_days.sh index 039bb5c..4286036 100755 --- a/bin/hardening/10.1.1_set_password_exp_days.sh +++ b/bin/hardening/10.1.1_set_password_exp_days.sh @@ -71,11 +71,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/10.1.2_set_password_min_days_change.sh b/bin/hardening/10.1.2_set_password_min_days_change.sh index cc0cdd8..1b47dff 100755 --- a/bin/hardening/10.1.2_set_password_min_days_change.sh +++ b/bin/hardening/10.1.2_set_password_min_days_change.sh @@ -71,11 +71,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/10.1.3_set_password_exp_warning_days.sh b/bin/hardening/10.1.3_set_password_exp_warning_days.sh index cef3353..d2d7499 100755 --- a/bin/hardening/10.1.3_set_password_exp_warning_days.sh +++ b/bin/hardening/10.1.3_set_password_exp_warning_days.sh @@ -71,11 +71,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/10.2_disable_system_accounts.sh b/bin/hardening/10.2_disable_system_accounts.sh index ab1ac15..5395b98 100755 --- a/bin/hardening/10.2_disable_system_accounts.sh +++ b/bin/hardening/10.2_disable_system_accounts.sh @@ -76,11 +76,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/10.3_default_root_group.sh b/bin/hardening/10.3_default_root_group.sh index f2e5364..023472d 100755 --- a/bin/hardening/10.3_default_root_group.sh +++ b/bin/hardening/10.3_default_root_group.sh @@ -39,11 +39,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/10.4_default_umask.sh b/bin/hardening/10.4_default_umask.sh index 6b30f3e..8b7fd84 100755 --- a/bin/hardening/10.4_default_umask.sh +++ b/bin/hardening/10.4_default_umask.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/10.5_lock_inactive_user_account.sh b/bin/hardening/10.5_lock_inactive_user_account.sh index 6208f75..db95a83 100755 --- a/bin/hardening/10.5_lock_inactive_user_account.sh +++ b/bin/hardening/10.5_lock_inactive_user_account.sh @@ -31,11 +31,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/11.1_warning_banners.sh b/bin/hardening/11.1_warning_banners.sh index 8285edf..6c9f6e5 100755 --- a/bin/hardening/11.1_warning_banners.sh +++ b/bin/hardening/11.1_warning_banners.sh @@ -65,11 +65,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/11.2_remove_os_info_warning_banners.sh b/bin/hardening/11.2_remove_os_info_warning_banners.sh index a622644..eba4bfc 100755 --- a/bin/hardening/11.2_remove_os_info_warning_banners.sh +++ b/bin/hardening/11.2_remove_os_info_warning_banners.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/11.3_graphical_warning_banners.sh b/bin/hardening/11.3_graphical_warning_banners.sh index 5dee2bb..e5298a9 100755 --- a/bin/hardening/11.3_graphical_warning_banners.sh +++ b/bin/hardening/11.3_graphical_warning_banners.sh @@ -27,11 +27,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.10_find_suid_files.sh b/bin/hardening/12.10_find_suid_files.sh index 6495b6a..414427b 100755 --- a/bin/hardening/12.10_find_suid_files.sh +++ b/bin/hardening/12.10_find_suid_files.sh @@ -42,11 +42,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.11_find_sgid_files.sh b/bin/hardening/12.11_find_sgid_files.sh index 0ca7f66..06d2076 100755 --- a/bin/hardening/12.11_find_sgid_files.sh +++ b/bin/hardening/12.11_find_sgid_files.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.1_etc_passwd_permissions.sh b/bin/hardening/12.1_etc_passwd_permissions.sh index 249c5d0..a73cae2 100755 --- a/bin/hardening/12.1_etc_passwd_permissions.sh +++ b/bin/hardening/12.1_etc_passwd_permissions.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.2_etc_shadow_permissions.sh b/bin/hardening/12.2_etc_shadow_permissions.sh index 7f51c02..7945371 100755 --- a/bin/hardening/12.2_etc_shadow_permissions.sh +++ b/bin/hardening/12.2_etc_shadow_permissions.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.3_etc_group_permissions.sh b/bin/hardening/12.3_etc_group_permissions.sh index a3bdae1..a43b3a9 100755 --- a/bin/hardening/12.3_etc_group_permissions.sh +++ b/bin/hardening/12.3_etc_group_permissions.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.4_etc_passwd_ownership.sh b/bin/hardening/12.4_etc_passwd_ownership.sh index 51eb6da..5462b91 100755 --- a/bin/hardening/12.4_etc_passwd_ownership.sh +++ b/bin/hardening/12.4_etc_passwd_ownership.sh @@ -56,11 +56,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.5_etc_shadow_ownership.sh b/bin/hardening/12.5_etc_shadow_ownership.sh index 2e5ec7c..3ae0a4b 100755 --- a/bin/hardening/12.5_etc_shadow_ownership.sh +++ b/bin/hardening/12.5_etc_shadow_ownership.sh @@ -56,11 +56,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.6_etc_group_ownership.sh b/bin/hardening/12.6_etc_group_ownership.sh index e89d807..8c2975a 100755 --- a/bin/hardening/12.6_etc_group_ownership.sh +++ b/bin/hardening/12.6_etc_group_ownership.sh @@ -56,11 +56,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.7_find_world_writable_file.sh b/bin/hardening/12.7_find_world_writable_file.sh index ec8d6f9..5ddc9d2 100755 --- a/bin/hardening/12.7_find_world_writable_file.sh +++ b/bin/hardening/12.7_find_world_writable_file.sh @@ -42,11 +42,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.8_find_unowned_files.sh b/bin/hardening/12.8_find_unowned_files.sh index db6858d..fb081d9 100755 --- a/bin/hardening/12.8_find_unowned_files.sh +++ b/bin/hardening/12.8_find_unowned_files.sh @@ -44,11 +44,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/12.9_find_ungrouped_files.sh b/bin/hardening/12.9_find_ungrouped_files.sh index f1ed3c5..7be3f7f 100755 --- a/bin/hardening/12.9_find_ungrouped_files.sh +++ b/bin/hardening/12.9_find_ungrouped_files.sh @@ -44,11 +44,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.10_find_user_rhosts_files.sh b/bin/hardening/13.10_find_user_rhosts_files.sh index 93aa00e..c2f6a89 100755 --- a/bin/hardening/13.10_find_user_rhosts_files.sh +++ b/bin/hardening/13.10_find_user_rhosts_files.sh @@ -42,11 +42,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.11_find_passwd_group_inconsistencies.sh b/bin/hardening/13.11_find_passwd_group_inconsistencies.sh index 1ee48b1..2e1dfee 100755 --- a/bin/hardening/13.11_find_passwd_group_inconsistencies.sh +++ b/bin/hardening/13.11_find_passwd_group_inconsistencies.sh @@ -40,11 +40,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.12_users_valid_homedir.sh b/bin/hardening/13.12_users_valid_homedir.sh index f267331..90c26cf 100755 --- a/bin/hardening/13.12_users_valid_homedir.sh +++ b/bin/hardening/13.12_users_valid_homedir.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.13_check_user_homedir_ownership.sh b/bin/hardening/13.13_check_user_homedir_ownership.sh index 206f56b..feb0027 100755 --- a/bin/hardening/13.13_check_user_homedir_ownership.sh +++ b/bin/hardening/13.13_check_user_homedir_ownership.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.14_check_duplicate_uid.sh b/bin/hardening/13.14_check_duplicate_uid.sh index 4de08fc..b30bc84 100755 --- a/bin/hardening/13.14_check_duplicate_uid.sh +++ b/bin/hardening/13.14_check_duplicate_uid.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.15_check_duplicate_gid.sh b/bin/hardening/13.15_check_duplicate_gid.sh index 1f93779..24b7bf9 100755 --- a/bin/hardening/13.15_check_duplicate_gid.sh +++ b/bin/hardening/13.15_check_duplicate_gid.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.16_check_duplicate_username.sh b/bin/hardening/13.16_check_duplicate_username.sh index 6168eca..de642af 100755 --- a/bin/hardening/13.16_check_duplicate_username.sh +++ b/bin/hardening/13.16_check_duplicate_username.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.17_check_duplicate_groupname.sh b/bin/hardening/13.17_check_duplicate_groupname.sh index a1a2824..10b1ec6 100755 --- a/bin/hardening/13.17_check_duplicate_groupname.sh +++ b/bin/hardening/13.17_check_duplicate_groupname.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.18_find_user_netrc_files.sh b/bin/hardening/13.18_find_user_netrc_files.sh index 414254b..3d70606 100755 --- a/bin/hardening/13.18_find_user_netrc_files.sh +++ b/bin/hardening/13.18_find_user_netrc_files.sh @@ -42,11 +42,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.19_find_user_forward_files.sh b/bin/hardening/13.19_find_user_forward_files.sh index 8ff6648..da81331 100755 --- a/bin/hardening/13.19_find_user_forward_files.sh +++ b/bin/hardening/13.19_find_user_forward_files.sh @@ -42,11 +42,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.1_remove_empty_password_field.sh b/bin/hardening/13.1_remove_empty_password_field.sh index 469e84c..28a09e5 100755 --- a/bin/hardening/13.1_remove_empty_password_field.sh +++ b/bin/hardening/13.1_remove_empty_password_field.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.20_shadow_group_empty.sh b/bin/hardening/13.20_shadow_group_empty.sh index dd23e41..c92c924 100755 --- a/bin/hardening/13.20_shadow_group_empty.sh +++ b/bin/hardening/13.20_shadow_group_empty.sh @@ -52,11 +52,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.2_remove_legacy_passwd_entries.sh b/bin/hardening/13.2_remove_legacy_passwd_entries.sh index 5c4f341..6c7d751 100755 --- a/bin/hardening/13.2_remove_legacy_passwd_entries.sh +++ b/bin/hardening/13.2_remove_legacy_passwd_entries.sh @@ -46,11 +46,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.3_remove_legacy_shadow_entries.sh b/bin/hardening/13.3_remove_legacy_shadow_entries.sh index b88932b..96d5e3d 100755 --- a/bin/hardening/13.3_remove_legacy_shadow_entries.sh +++ b/bin/hardening/13.3_remove_legacy_shadow_entries.sh @@ -46,11 +46,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.4_remove_legacy_group_entries.sh b/bin/hardening/13.4_remove_legacy_group_entries.sh index 5980c90..a59b111 100755 --- a/bin/hardening/13.4_remove_legacy_group_entries.sh +++ b/bin/hardening/13.4_remove_legacy_group_entries.sh @@ -46,11 +46,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.5_find_0_uid_non_root_account.sh b/bin/hardening/13.5_find_0_uid_non_root_account.sh index 40e2173..36530f3 100755 --- a/bin/hardening/13.5_find_0_uid_non_root_account.sh +++ b/bin/hardening/13.5_find_0_uid_non_root_account.sh @@ -50,11 +50,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.6_sanitize_root_path.sh b/bin/hardening/13.6_sanitize_root_path.sh index 36178d4..5ce868e 100755 --- a/bin/hardening/13.6_sanitize_root_path.sh +++ b/bin/hardening/13.6_sanitize_root_path.sh @@ -69,11 +69,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.7_check_user_dir_perm.sh b/bin/hardening/13.7_check_user_dir_perm.sh index c34a96d..d3b8d57 100755 --- a/bin/hardening/13.7_check_user_dir_perm.sh +++ b/bin/hardening/13.7_check_user_dir_perm.sh @@ -94,11 +94,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.8_check_user_dot_file_perm.sh b/bin/hardening/13.8_check_user_dot_file_perm.sh index d00379e..4bdda40 100755 --- a/bin/hardening/13.8_check_user_dot_file_perm.sh +++ b/bin/hardening/13.8_check_user_dot_file_perm.sh @@ -62,11 +62,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/13.9_set_perm_on_user_netrc.sh b/bin/hardening/13.9_set_perm_on_user_netrc.sh index d6f8e8e..043f3d0 100755 --- a/bin/hardening/13.9_set_perm_on_user_netrc.sh +++ b/bin/hardening/13.9_set_perm_on_user_netrc.sh @@ -61,11 +61,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning FILE, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening FILE, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.10_home_nodev.sh b/bin/hardening/2.10_home_nodev.sh index 1c8a414..aedf2cd 100755 --- a/bin/hardening/2.10_home_nodev.sh +++ b/bin/hardening/2.10_home_nodev.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.11_removable_device_nodev.sh b/bin/hardening/2.11_removable_device_nodev.sh index 010a432..62f34d8 100755 --- a/bin/hardening/2.11_removable_device_nodev.sh +++ b/bin/hardening/2.11_removable_device_nodev.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.12_removable_device_noexec.sh b/bin/hardening/2.12_removable_device_noexec.sh index 1258880..23ea761 100755 --- a/bin/hardening/2.12_removable_device_noexec.sh +++ b/bin/hardening/2.12_removable_device_noexec.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.13_removable_device_nosuid.sh b/bin/hardening/2.13_removable_device_nosuid.sh index 351d94b..e14a307 100755 --- a/bin/hardening/2.13_removable_device_nosuid.sh +++ b/bin/hardening/2.13_removable_device_nosuid.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.14_run_shm_nodev.sh b/bin/hardening/2.14_run_shm_nodev.sh index d58d354..ead5eb5 100755 --- a/bin/hardening/2.14_run_shm_nodev.sh +++ b/bin/hardening/2.14_run_shm_nodev.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.15_run_shm_nosuid.sh b/bin/hardening/2.15_run_shm_nosuid.sh index 451944a..a2906d9 100755 --- a/bin/hardening/2.15_run_shm_nosuid.sh +++ b/bin/hardening/2.15_run_shm_nosuid.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.16_run_shm_noexec.sh b/bin/hardening/2.16_run_shm_noexec.sh index 9f111b5..8390ac1 100755 --- a/bin/hardening/2.16_run_shm_noexec.sh +++ b/bin/hardening/2.16_run_shm_noexec.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.17_sticky_bit_world_writable_folder.sh b/bin/hardening/2.17_sticky_bit_world_writable_folder.sh index 0183a36..1e5e807 100755 --- a/bin/hardening/2.17_sticky_bit_world_writable_folder.sh +++ b/bin/hardening/2.17_sticky_bit_world_writable_folder.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.18_disable_cramfs.sh b/bin/hardening/2.18_disable_cramfs.sh index 9ddf758..182f7c2 100755 --- a/bin/hardening/2.18_disable_cramfs.sh +++ b/bin/hardening/2.18_disable_cramfs.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.19_disable_freevxfs.sh b/bin/hardening/2.19_disable_freevxfs.sh index 65ce4cf..b9d3fac 100755 --- a/bin/hardening/2.19_disable_freevxfs.sh +++ b/bin/hardening/2.19_disable_freevxfs.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.1_tmp_partition.sh b/bin/hardening/2.1_tmp_partition.sh index f2b5469..5a6413f 100755 --- a/bin/hardening/2.1_tmp_partition.sh +++ b/bin/hardening/2.1_tmp_partition.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.20_disable_jffs2.sh b/bin/hardening/2.20_disable_jffs2.sh index c2fe78d..62af84b 100755 --- a/bin/hardening/2.20_disable_jffs2.sh +++ b/bin/hardening/2.20_disable_jffs2.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.21_disable_hfs.sh b/bin/hardening/2.21_disable_hfs.sh index de679b2..9279411 100755 --- a/bin/hardening/2.21_disable_hfs.sh +++ b/bin/hardening/2.21_disable_hfs.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.22_disable_hfsplus.sh b/bin/hardening/2.22_disable_hfsplus.sh index 3fede5a..c1c8b62 100755 --- a/bin/hardening/2.22_disable_hfsplus.sh +++ b/bin/hardening/2.22_disable_hfsplus.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.23_disable_squashfs.sh b/bin/hardening/2.23_disable_squashfs.sh index 37f8da3..8642e20 100755 --- a/bin/hardening/2.23_disable_squashfs.sh +++ b/bin/hardening/2.23_disable_squashfs.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.24_disable_udf.sh b/bin/hardening/2.24_disable_udf.sh index f429c38..2cd1942 100755 --- a/bin/hardening/2.24_disable_udf.sh +++ b/bin/hardening/2.24_disable_udf.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.25_disable_automounting.sh b/bin/hardening/2.25_disable_automounting.sh index 1323bad..001ceec 100755 --- a/bin/hardening/2.25_disable_automounting.sh +++ b/bin/hardening/2.25_disable_automounting.sh @@ -42,11 +42,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.2_tmp_nodev.sh b/bin/hardening/2.2_tmp_nodev.sh index 6b34d0f..269232e 100755 --- a/bin/hardening/2.2_tmp_nodev.sh +++ b/bin/hardening/2.2_tmp_nodev.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.3_tmp_nosuid.sh b/bin/hardening/2.3_tmp_nosuid.sh index a361ca7..0b871c7 100755 --- a/bin/hardening/2.3_tmp_nosuid.sh +++ b/bin/hardening/2.3_tmp_nosuid.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.4_tmp_noexec.sh b/bin/hardening/2.4_tmp_noexec.sh index 9d61da1..8e7f0c0 100755 --- a/bin/hardening/2.4_tmp_noexec.sh +++ b/bin/hardening/2.4_tmp_noexec.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.5_var_partition.sh b/bin/hardening/2.5_var_partition.sh index 3a0fed6..14b9173 100755 --- a/bin/hardening/2.5_var_partition.sh +++ b/bin/hardening/2.5_var_partition.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.6.1_var_tmp_partition.sh b/bin/hardening/2.6.1_var_tmp_partition.sh index 1a1348b..3569657 100755 --- a/bin/hardening/2.6.1_var_tmp_partition.sh +++ b/bin/hardening/2.6.1_var_tmp_partition.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.6.2_var_tmp_nodev.sh b/bin/hardening/2.6.2_var_tmp_nodev.sh index 2be7322..f156c3f 100755 --- a/bin/hardening/2.6.2_var_tmp_nodev.sh +++ b/bin/hardening/2.6.2_var_tmp_nodev.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.6.3_var_tmp_nosuid.sh b/bin/hardening/2.6.3_var_tmp_nosuid.sh index 992d8e6..425d8f3 100755 --- a/bin/hardening/2.6.3_var_tmp_nosuid.sh +++ b/bin/hardening/2.6.3_var_tmp_nosuid.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.6.4_var_tmp_noexec.sh b/bin/hardening/2.6.4_var_tmp_noexec.sh index 223477f..05c43da 100755 --- a/bin/hardening/2.6.4_var_tmp_noexec.sh +++ b/bin/hardening/2.6.4_var_tmp_noexec.sh @@ -66,11 +66,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.7_var_log_partition.sh b/bin/hardening/2.7_var_log_partition.sh index 32b2c74..dd8e750 100755 --- a/bin/hardening/2.7_var_log_partition.sh +++ b/bin/hardening/2.7_var_log_partition.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.8_var_log_audit_partition.sh b/bin/hardening/2.8_var_log_audit_partition.sh index 9c7bf92..710f9d8 100755 --- a/bin/hardening/2.8_var_log_audit_partition.sh +++ b/bin/hardening/2.8_var_log_audit_partition.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/2.9_home_partition.sh b/bin/hardening/2.9_home_partition.sh index 04270db..e2fe440 100755 --- a/bin/hardening/2.9_home_partition.sh +++ b/bin/hardening/2.9_home_partition.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/3.1_bootloader_ownership.sh b/bin/hardening/3.1_bootloader_ownership.sh index 044d2b0..65e4cfc 100755 --- a/bin/hardening/3.1_bootloader_ownership.sh +++ b/bin/hardening/3.1_bootloader_ownership.sh @@ -64,11 +64,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/3.2_bootloader_permissions.sh b/bin/hardening/3.2_bootloader_permissions.sh index 4bc0dec..c2b18df 100755 --- a/bin/hardening/3.2_bootloader_permissions.sh +++ b/bin/hardening/3.2_bootloader_permissions.sh @@ -51,11 +51,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/3.3_bootloader_password.sh b/bin/hardening/3.3_bootloader_password.sh index 05a9ab0..36f03ed 100755 --- a/bin/hardening/3.3_bootloader_password.sh +++ b/bin/hardening/3.3_bootloader_password.sh @@ -62,11 +62,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/3.4_root_password.sh b/bin/hardening/3.4_root_password.sh index f37bfb0..1297622 100755 --- a/bin/hardening/3.4_root_password.sh +++ b/bin/hardening/3.4_root_password.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/4.1_restrict_core_dumps.sh b/bin/hardening/4.1_restrict_core_dumps.sh index 7f6a4b6..885a060 100755 --- a/bin/hardening/4.1_restrict_core_dumps.sh +++ b/bin/hardening/4.1_restrict_core_dumps.sh @@ -61,11 +61,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/4.2_enable_nx_support.sh b/bin/hardening/4.2_enable_nx_support.sh index d5c4962..4d0b0e9 100755 --- a/bin/hardening/4.2_enable_nx_support.sh +++ b/bin/hardening/4.2_enable_nx_support.sh @@ -39,11 +39,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/4.3_enable_randomized_vm_placement.sh b/bin/hardening/4.3_enable_randomized_vm_placement.sh index ded11c1..2220529 100755 --- a/bin/hardening/4.3_enable_randomized_vm_placement.sh +++ b/bin/hardening/4.3_enable_randomized_vm_placement.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/4.4_disable_prelink.sh b/bin/hardening/4.4_disable_prelink.sh index 3770a6b..239b944 100755 --- a/bin/hardening/4.4_disable_prelink.sh +++ b/bin/hardening/4.4_disable_prelink.sh @@ -44,11 +44,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/4.5_enable_apparmor.sh b/bin/hardening/4.5_enable_apparmor.sh index 88b7bbc..ca734f9 100755 --- a/bin/hardening/4.5_enable_apparmor.sh +++ b/bin/hardening/4.5_enable_apparmor.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.1.1_disable_nis.sh b/bin/hardening/5.1.1_disable_nis.sh index ddabc5b..bee94fd 100755 --- a/bin/hardening/5.1.1_disable_nis.sh +++ b/bin/hardening/5.1.1_disable_nis.sh @@ -42,11 +42,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.1.2_disable_rsh.sh b/bin/hardening/5.1.2_disable_rsh.sh index 802ab4b..70f42b3 100755 --- a/bin/hardening/5.1.2_disable_rsh.sh +++ b/bin/hardening/5.1.2_disable_rsh.sh @@ -74,11 +74,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.1.3_disable_rsh_client.sh b/bin/hardening/5.1.3_disable_rsh_client.sh index 679093a..7669d19 100755 --- a/bin/hardening/5.1.3_disable_rsh_client.sh +++ b/bin/hardening/5.1.3_disable_rsh_client.sh @@ -46,11 +46,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.1.4_disable_talk.sh b/bin/hardening/5.1.4_disable_talk.sh index ffd320b..c8b70a9 100755 --- a/bin/hardening/5.1.4_disable_talk.sh +++ b/bin/hardening/5.1.4_disable_talk.sh @@ -73,11 +73,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.1.5_disable_talk_client.sh b/bin/hardening/5.1.5_disable_talk_client.sh index 3e5c927..0b4b738 100755 --- a/bin/hardening/5.1.5_disable_talk_client.sh +++ b/bin/hardening/5.1.5_disable_talk_client.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.1.6_disable_telnet_server.sh b/bin/hardening/5.1.6_disable_telnet_server.sh index 9d7b3f6..916da33 100755 --- a/bin/hardening/5.1.6_disable_telnet_server.sh +++ b/bin/hardening/5.1.6_disable_telnet_server.sh @@ -74,11 +74,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.1.7_disable_tftp_server.sh b/bin/hardening/5.1.7_disable_tftp_server.sh index 0c39f26..2e2c80b 100755 --- a/bin/hardening/5.1.7_disable_tftp_server.sh +++ b/bin/hardening/5.1.7_disable_tftp_server.sh @@ -74,11 +74,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.1.8_disable_inetd.sh b/bin/hardening/5.1.8_disable_inetd.sh index bad5b8c..107be46 100755 --- a/bin/hardening/5.1.8_disable_inetd.sh +++ b/bin/hardening/5.1.8_disable_inetd.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.2_disable_chargen.sh b/bin/hardening/5.2_disable_chargen.sh index 2ce2870..27b2d98 100755 --- a/bin/hardening/5.2_disable_chargen.sh +++ b/bin/hardening/5.2_disable_chargen.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.3_disable_daytime.sh b/bin/hardening/5.3_disable_daytime.sh index cb12750..3e6dd54 100755 --- a/bin/hardening/5.3_disable_daytime.sh +++ b/bin/hardening/5.3_disable_daytime.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.4_disable_echo.sh b/bin/hardening/5.4_disable_echo.sh index d899e8f..42a183c 100755 --- a/bin/hardening/5.4_disable_echo.sh +++ b/bin/hardening/5.4_disable_echo.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.5_disable_discard.sh b/bin/hardening/5.5_disable_discard.sh index 0fce91d..9bbb130 100755 --- a/bin/hardening/5.5_disable_discard.sh +++ b/bin/hardening/5.5_disable_discard.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/5.6_disable_time.sh b/bin/hardening/5.6_disable_time.sh index 0267904..b67f088 100755 --- a/bin/hardening/5.6_disable_time.sh +++ b/bin/hardening/5.6_disable_time.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.10_disable_http_server.sh b/bin/hardening/6.10_disable_http_server.sh index 72d3076..adde773 100755 --- a/bin/hardening/6.10_disable_http_server.sh +++ b/bin/hardening/6.10_disable_http_server.sh @@ -46,11 +46,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.11_disable_imap_pop.sh b/bin/hardening/6.11_disable_imap_pop.sh index 9d4b82d..68ad1c9 100755 --- a/bin/hardening/6.11_disable_imap_pop.sh +++ b/bin/hardening/6.11_disable_imap_pop.sh @@ -46,11 +46,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.12_disable_samba.sh b/bin/hardening/6.12_disable_samba.sh index d635a34..374ba03 100755 --- a/bin/hardening/6.12_disable_samba.sh +++ b/bin/hardening/6.12_disable_samba.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.13_diable_http_proxy.sh b/bin/hardening/6.13_diable_http_proxy.sh index b1a4b29..310bdd0 100755 --- a/bin/hardening/6.13_diable_http_proxy.sh +++ b/bin/hardening/6.13_diable_http_proxy.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.14_disable_snmp_server.sh b/bin/hardening/6.14_disable_snmp_server.sh index 6eceacb..e058e05 100755 --- a/bin/hardening/6.14_disable_snmp_server.sh +++ b/bin/hardening/6.14_disable_snmp_server.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.15_mta_localhost.sh b/bin/hardening/6.15_mta_localhost.sh index e08325c..82b8c2d 100755 --- a/bin/hardening/6.15_mta_localhost.sh +++ b/bin/hardening/6.15_mta_localhost.sh @@ -52,11 +52,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.16_disable_rsync.sh b/bin/hardening/6.16_disable_rsync.sh index 5b9800d..ac4e9c6 100755 --- a/bin/hardening/6.16_disable_rsync.sh +++ b/bin/hardening/6.16_disable_rsync.sh @@ -56,11 +56,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.1_disable_xwindow_system.sh b/bin/hardening/6.1_disable_xwindow_system.sh index bd30e09..c13241c 100755 --- a/bin/hardening/6.1_disable_xwindow_system.sh +++ b/bin/hardening/6.1_disable_xwindow_system.sh @@ -46,11 +46,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.2_disable_avahi_server.sh b/bin/hardening/6.2_disable_avahi_server.sh index 7a4a13a..0663849 100755 --- a/bin/hardening/6.2_disable_avahi_server.sh +++ b/bin/hardening/6.2_disable_avahi_server.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.3_disable_print_server.sh b/bin/hardening/6.3_disable_print_server.sh index 2a606f9..678db7d 100755 --- a/bin/hardening/6.3_disable_print_server.sh +++ b/bin/hardening/6.3_disable_print_server.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.4_disable_dhcp.sh b/bin/hardening/6.4_disable_dhcp.sh index dcf76d9..28b9957 100755 --- a/bin/hardening/6.4_disable_dhcp.sh +++ b/bin/hardening/6.4_disable_dhcp.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.5_configure_ntp.sh b/bin/hardening/6.5_configure_ntp.sh index df3c861..5d6a3ae 100755 --- a/bin/hardening/6.5_configure_ntp.sh +++ b/bin/hardening/6.5_configure_ntp.sh @@ -73,11 +73,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.6_diable_ldap.sh b/bin/hardening/6.6_diable_ldap.sh index 9fb4f35..c003a65 100755 --- a/bin/hardening/6.6_diable_ldap.sh +++ b/bin/hardening/6.6_diable_ldap.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.7_disable_nfs_rpc.sh b/bin/hardening/6.7_disable_nfs_rpc.sh index d1f0d00..f86cf38 100755 --- a/bin/hardening/6.7_disable_nfs_rpc.sh +++ b/bin/hardening/6.7_disable_nfs_rpc.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.8_disable_dns_server.sh b/bin/hardening/6.8_disable_dns_server.sh index 492a9bb..d3475da 100755 --- a/bin/hardening/6.8_disable_dns_server.sh +++ b/bin/hardening/6.8_disable_dns_server.sh @@ -45,11 +45,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/6.9_disable_ftp.sh b/bin/hardening/6.9_disable_ftp.sh index 579f933..353ebb0 100755 --- a/bin/hardening/6.9_disable_ftp.sh +++ b/bin/hardening/6.9_disable_ftp.sh @@ -46,11 +46,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.1.1_disable_ip_forwarding.sh b/bin/hardening/7.1.1_disable_ip_forwarding.sh index 24ef503..364f7f9 100755 --- a/bin/hardening/7.1.1_disable_ip_forwarding.sh +++ b/bin/hardening/7.1.1_disable_ip_forwarding.sh @@ -46,11 +46,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.1.2_disable_send_packet_redirects.sh b/bin/hardening/7.1.2_disable_send_packet_redirects.sh index f608988..c87a093 100755 --- a/bin/hardening/7.1.2_disable_send_packet_redirects.sh +++ b/bin/hardening/7.1.2_disable_send_packet_redirects.sh @@ -56,11 +56,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.2.1_disable_source_routed_packets.sh b/bin/hardening/7.2.1_disable_source_routed_packets.sh index 660d374..62ce83c 100755 --- a/bin/hardening/7.2.1_disable_source_routed_packets.sh +++ b/bin/hardening/7.2.1_disable_source_routed_packets.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.2.2_disable_icmp_redirect.sh b/bin/hardening/7.2.2_disable_icmp_redirect.sh index 7ac408c..271fa5d 100755 --- a/bin/hardening/7.2.2_disable_icmp_redirect.sh +++ b/bin/hardening/7.2.2_disable_icmp_redirect.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.2.3_disable_secure_icmp_redirect.sh b/bin/hardening/7.2.3_disable_secure_icmp_redirect.sh index 1f0b405..bcffd36 100755 --- a/bin/hardening/7.2.3_disable_secure_icmp_redirect.sh +++ b/bin/hardening/7.2.3_disable_secure_icmp_redirect.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.2.4_log_martian_packets.sh b/bin/hardening/7.2.4_log_martian_packets.sh index b8a48bb..be52137 100755 --- a/bin/hardening/7.2.4_log_martian_packets.sh +++ b/bin/hardening/7.2.4_log_martian_packets.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.2.5_ignore_broadcast_requests.sh b/bin/hardening/7.2.5_ignore_broadcast_requests.sh index dab592b..5b1ab9d 100755 --- a/bin/hardening/7.2.5_ignore_broadcast_requests.sh +++ b/bin/hardening/7.2.5_ignore_broadcast_requests.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.2.6_enable_bad_error_message_protection.sh b/bin/hardening/7.2.6_enable_bad_error_message_protection.sh index 43a7747..5af67cd 100755 --- a/bin/hardening/7.2.6_enable_bad_error_message_protection.sh +++ b/bin/hardening/7.2.6_enable_bad_error_message_protection.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.2.7_enable_source_route_validation.sh b/bin/hardening/7.2.7_enable_source_route_validation.sh index 1391ce7..07ad4dc 100755 --- a/bin/hardening/7.2.7_enable_source_route_validation.sh +++ b/bin/hardening/7.2.7_enable_source_route_validation.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.2.8_enable_tcp_syn_cookies.sh b/bin/hardening/7.2.8_enable_tcp_syn_cookies.sh index 8d2da10..6e9c502 100755 --- a/bin/hardening/7.2.8_enable_tcp_syn_cookies.sh +++ b/bin/hardening/7.2.8_enable_tcp_syn_cookies.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.3.1_disable_ipv6_router_advertisement.sh b/bin/hardening/7.3.1_disable_ipv6_router_advertisement.sh index 173a289..4d7b833 100755 --- a/bin/hardening/7.3.1_disable_ipv6_router_advertisement.sh +++ b/bin/hardening/7.3.1_disable_ipv6_router_advertisement.sh @@ -65,11 +65,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.3.2_disable_ipv6_redirect.sh b/bin/hardening/7.3.2_disable_ipv6_redirect.sh index 7f858be..db98522 100755 --- a/bin/hardening/7.3.2_disable_ipv6_redirect.sh +++ b/bin/hardening/7.3.2_disable_ipv6_redirect.sh @@ -65,11 +65,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.3.3_disable_ipv6.sh b/bin/hardening/7.3.3_disable_ipv6.sh index 22a087d..bef82eb 100755 --- a/bin/hardening/7.3.3_disable_ipv6.sh +++ b/bin/hardening/7.3.3_disable_ipv6.sh @@ -65,11 +65,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.4.1_install_tcp_wrapper.sh b/bin/hardening/7.4.1_install_tcp_wrapper.sh index ad564d2..6080292 100755 --- a/bin/hardening/7.4.1_install_tcp_wrapper.sh +++ b/bin/hardening/7.4.1_install_tcp_wrapper.sh @@ -40,11 +40,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.4.2_hosts_allow.sh b/bin/hardening/7.4.2_hosts_allow.sh index 4d0c808..a60c947 100755 --- a/bin/hardening/7.4.2_hosts_allow.sh +++ b/bin/hardening/7.4.2_hosts_allow.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.4.3_hosts_allow_permissions.sh b/bin/hardening/7.4.3_hosts_allow_permissions.sh index 6f0fea4..d40fe39 100755 --- a/bin/hardening/7.4.3_hosts_allow_permissions.sh +++ b/bin/hardening/7.4.3_hosts_allow_permissions.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.4.4_hosts_deny.sh b/bin/hardening/7.4.4_hosts_deny.sh index 1649115..cf70382 100755 --- a/bin/hardening/7.4.4_hosts_deny.sh +++ b/bin/hardening/7.4.4_hosts_deny.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.4.5_hosts_deny_permissions.sh b/bin/hardening/7.4.5_hosts_deny_permissions.sh index 933a7c6..6960f2d 100755 --- a/bin/hardening/7.4.5_hosts_deny_permissions.sh +++ b/bin/hardening/7.4.5_hosts_deny_permissions.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.5.1_disable_dccp.sh b/bin/hardening/7.5.1_disable_dccp.sh index bad110c..21fff17 100755 --- a/bin/hardening/7.5.1_disable_dccp.sh +++ b/bin/hardening/7.5.1_disable_dccp.sh @@ -27,11 +27,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.5.2_disable_sctp.sh b/bin/hardening/7.5.2_disable_sctp.sh index bf4bb75..2350d25 100755 --- a/bin/hardening/7.5.2_disable_sctp.sh +++ b/bin/hardening/7.5.2_disable_sctp.sh @@ -27,11 +27,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.5.3_disable_rds.sh b/bin/hardening/7.5.3_disable_rds.sh index 78ee539..9302c7d 100755 --- a/bin/hardening/7.5.3_disable_rds.sh +++ b/bin/hardening/7.5.3_disable_rds.sh @@ -27,11 +27,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.5.4_disable_tipc.sh b/bin/hardening/7.5.4_disable_tipc.sh index f0e8a26..0c7fa01 100755 --- a/bin/hardening/7.5.4_disable_tipc.sh +++ b/bin/hardening/7.5.4_disable_tipc.sh @@ -27,11 +27,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.6_disable_wireless.sh b/bin/hardening/7.6_disable_wireless.sh index f782b01..0cc7c87 100755 --- a/bin/hardening/7.6_disable_wireless.sh +++ b/bin/hardening/7.6_disable_wireless.sh @@ -27,11 +27,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/7.7_enable_firewall.sh b/bin/hardening/7.7_enable_firewall.sh index 82af538..d1c9c46 100755 --- a/bin/hardening/7.7_enable_firewall.sh +++ b/bin/hardening/7.7_enable_firewall.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.0_enable_auditd_kernel.sh b/bin/hardening/8.0_enable_auditd_kernel.sh index 02da848..7bfa3b5 100755 --- a/bin/hardening/8.0_enable_auditd_kernel.sh +++ b/bin/hardening/8.0_enable_auditd_kernel.sh @@ -44,11 +44,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.1.1_audit_log_storage.sh b/bin/hardening/8.1.1.1_audit_log_storage.sh index b9817f8..19c19fc 100755 --- a/bin/hardening/8.1.1.1_audit_log_storage.sh +++ b/bin/hardening/8.1.1.1_audit_log_storage.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.1.2_halt_when_audit_log_full.sh b/bin/hardening/8.1.1.2_halt_when_audit_log_full.sh index 2c5fd88..39cbb95 100755 --- a/bin/hardening/8.1.1.2_halt_when_audit_log_full.sh +++ b/bin/hardening/8.1.1.2_halt_when_audit_log_full.sh @@ -73,11 +73,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.1.3_keep_all_audit_logs.sh b/bin/hardening/8.1.1.3_keep_all_audit_logs.sh index cca57ab..f531273 100755 --- a/bin/hardening/8.1.1.3_keep_all_audit_logs.sh +++ b/bin/hardening/8.1.1.3_keep_all_audit_logs.sh @@ -73,11 +73,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.10_record_dac_edit.sh b/bin/hardening/8.1.10_record_dac_edit.sh index 69ef81c..58691d7 100755 --- a/bin/hardening/8.1.10_record_dac_edit.sh +++ b/bin/hardening/8.1.10_record_dac_edit.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.11_record_failed_access_file.sh b/bin/hardening/8.1.11_record_failed_access_file.sh index c7e1c3a..b65166f 100755 --- a/bin/hardening/8.1.11_record_failed_access_file.sh +++ b/bin/hardening/8.1.11_record_failed_access_file.sh @@ -53,11 +53,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.12_record_privileged_commands.sh b/bin/hardening/8.1.12_record_privileged_commands.sh index d067596..e2be563 100755 --- a/bin/hardening/8.1.12_record_privileged_commands.sh +++ b/bin/hardening/8.1.12_record_privileged_commands.sh @@ -53,11 +53,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.13_record_successful_mount.sh b/bin/hardening/8.1.13_record_successful_mount.sh index 8e64cdc..d76acf1 100755 --- a/bin/hardening/8.1.13_record_successful_mount.sh +++ b/bin/hardening/8.1.13_record_successful_mount.sh @@ -51,11 +51,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.14_record_file_deletions.sh b/bin/hardening/8.1.14_record_file_deletions.sh index 2b3cf19..679669d 100755 --- a/bin/hardening/8.1.14_record_file_deletions.sh +++ b/bin/hardening/8.1.14_record_file_deletions.sh @@ -51,11 +51,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.15_record_sudoers_edit.sh b/bin/hardening/8.1.15_record_sudoers_edit.sh index 9fc5215..62818dd 100755 --- a/bin/hardening/8.1.15_record_sudoers_edit.sh +++ b/bin/hardening/8.1.15_record_sudoers_edit.sh @@ -51,11 +51,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.16_record_sudo_usage.sh b/bin/hardening/8.1.16_record_sudo_usage.sh index c3c87e5..a279d8b 100755 --- a/bin/hardening/8.1.16_record_sudo_usage.sh +++ b/bin/hardening/8.1.16_record_sudo_usage.sh @@ -50,11 +50,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.17_record_kernel_modules.sh b/bin/hardening/8.1.17_record_kernel_modules.sh index eac57af..67c135c 100755 --- a/bin/hardening/8.1.17_record_kernel_modules.sh +++ b/bin/hardening/8.1.17_record_kernel_modules.sh @@ -53,11 +53,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.18_freeze_auditd_conf.sh b/bin/hardening/8.1.18_freeze_auditd_conf.sh index 335b044..3283973 100755 --- a/bin/hardening/8.1.18_freeze_auditd_conf.sh +++ b/bin/hardening/8.1.18_freeze_auditd_conf.sh @@ -50,11 +50,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.2_enable_auditd.sh b/bin/hardening/8.1.2_enable_auditd.sh index a2c3472..1a646d7 100755 --- a/bin/hardening/8.1.2_enable_auditd.sh +++ b/bin/hardening/8.1.2_enable_auditd.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.3_audit_bootloader.sh b/bin/hardening/8.1.3_audit_bootloader.sh index 9914a58..cd53f95 100755 --- a/bin/hardening/8.1.3_audit_bootloader.sh +++ b/bin/hardening/8.1.3_audit_bootloader.sh @@ -73,11 +73,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.4_record_date_time_edit.sh b/bin/hardening/8.1.4_record_date_time_edit.sh index f2f5f29..43f4f03 100755 --- a/bin/hardening/8.1.4_record_date_time_edit.sh +++ b/bin/hardening/8.1.4_record_date_time_edit.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.5_record_user_group_edit.sh b/bin/hardening/8.1.5_record_user_group_edit.sh index 706f4bb..b075d9a 100755 --- a/bin/hardening/8.1.5_record_user_group_edit.sh +++ b/bin/hardening/8.1.5_record_user_group_edit.sh @@ -54,11 +54,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.6_record_network_edit.sh b/bin/hardening/8.1.6_record_network_edit.sh index 4e0c718..033e0ea 100755 --- a/bin/hardening/8.1.6_record_network_edit.sh +++ b/bin/hardening/8.1.6_record_network_edit.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.7_record_mac_edit.sh b/bin/hardening/8.1.7_record_mac_edit.sh index 78f0bff..b63a823 100755 --- a/bin/hardening/8.1.7_record_mac_edit.sh +++ b/bin/hardening/8.1.7_record_mac_edit.sh @@ -50,11 +50,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.8_record_login_logout.sh b/bin/hardening/8.1.8_record_login_logout.sh index 7d35a38..e8553f5 100755 --- a/bin/hardening/8.1.8_record_login_logout.sh +++ b/bin/hardening/8.1.8_record_login_logout.sh @@ -52,11 +52,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.1.9_record_session_init.sh b/bin/hardening/8.1.9_record_session_init.sh index b939105..ae1aa03 100755 --- a/bin/hardening/8.1.9_record_session_init.sh +++ b/bin/hardening/8.1.9_record_session_init.sh @@ -52,11 +52,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.2.1_install_syslog-ng.sh b/bin/hardening/8.2.1_install_syslog-ng.sh index aa56a5f..464f918 100755 --- a/bin/hardening/8.2.1_install_syslog-ng.sh +++ b/bin/hardening/8.2.1_install_syslog-ng.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.2.2_enable_syslog-ng.sh b/bin/hardening/8.2.2_enable_syslog-ng.sh index 9b08561..f808146 100755 --- a/bin/hardening/8.2.2_enable_syslog-ng.sh +++ b/bin/hardening/8.2.2_enable_syslog-ng.sh @@ -43,11 +43,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.2.3_configure_syslog-ng.sh b/bin/hardening/8.2.3_configure_syslog-ng.sh index ae0351f..1e8ae0f 100755 --- a/bin/hardening/8.2.3_configure_syslog-ng.sh +++ b/bin/hardening/8.2.3_configure_syslog-ng.sh @@ -31,11 +31,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.2.4_set_logfile_perm.sh b/bin/hardening/8.2.4_set_logfile_perm.sh index cd48564..93ae3ec 100755 --- a/bin/hardening/8.2.4_set_logfile_perm.sh +++ b/bin/hardening/8.2.4_set_logfile_perm.sh @@ -74,11 +74,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.2.5_syslog-ng_remote_host.sh b/bin/hardening/8.2.5_syslog-ng_remote_host.sh index 5f5e942..c0f8f71 100755 --- a/bin/hardening/8.2.5_syslog-ng_remote_host.sh +++ b/bin/hardening/8.2.5_syslog-ng_remote_host.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.2.6_remote_syslog-ng_acl.sh b/bin/hardening/8.2.6_remote_syslog-ng_acl.sh index 0c80c3f..dbaa0f6 100755 --- a/bin/hardening/8.2.6_remote_syslog-ng_acl.sh +++ b/bin/hardening/8.2.6_remote_syslog-ng_acl.sh @@ -27,11 +27,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.3.1_install_tripwire.sh b/bin/hardening/8.3.1_install_tripwire.sh index 6bc85c9..e9cb512 100755 --- a/bin/hardening/8.3.1_install_tripwire.sh +++ b/bin/hardening/8.3.1_install_tripwire.sh @@ -42,11 +42,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.3.2_tripwire_cron.sh b/bin/hardening/8.3.2_tripwire_cron.sh index c119a08..8a2b043 100755 --- a/bin/hardening/8.3.2_tripwire_cron.sh +++ b/bin/hardening/8.3.2_tripwire_cron.sh @@ -41,11 +41,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/8.4_configure_logrotate.sh b/bin/hardening/8.4_configure_logrotate.sh index 8f93e73..100a9b8 100755 --- a/bin/hardening/8.4_configure_logrotate.sh +++ b/bin/hardening/8.4_configure_logrotate.sh @@ -31,11 +31,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.1.1_enable_cron.sh b/bin/hardening/9.1.1_enable_cron.sh index 6dc1ce5..85a1327 100755 --- a/bin/hardening/9.1.1_enable_cron.sh +++ b/bin/hardening/9.1.1_enable_cron.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.1.2_crontab_perm_ownership.sh b/bin/hardening/9.1.2_crontab_perm_ownership.sh index b3ecd62..0ec2dd1 100755 --- a/bin/hardening/9.1.2_crontab_perm_ownership.sh +++ b/bin/hardening/9.1.2_crontab_perm_ownership.sh @@ -70,11 +70,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.1.3_cron_hourly_perm_ownership.sh b/bin/hardening/9.1.3_cron_hourly_perm_ownership.sh index 25595a9..880b997 100755 --- a/bin/hardening/9.1.3_cron_hourly_perm_ownership.sh +++ b/bin/hardening/9.1.3_cron_hourly_perm_ownership.sh @@ -70,11 +70,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.1.4_cron_daily_perm_ownership.sh b/bin/hardening/9.1.4_cron_daily_perm_ownership.sh index 122ec4a..ec4a53a 100755 --- a/bin/hardening/9.1.4_cron_daily_perm_ownership.sh +++ b/bin/hardening/9.1.4_cron_daily_perm_ownership.sh @@ -70,11 +70,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.1.5_cron_weekly_perm_ownership.sh b/bin/hardening/9.1.5_cron_weekly_perm_ownership.sh index 21bca7c..6929156 100755 --- a/bin/hardening/9.1.5_cron_weekly_perm_ownership.sh +++ b/bin/hardening/9.1.5_cron_weekly_perm_ownership.sh @@ -70,11 +70,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.1.6_cron_monthly_perm_ownership.sh b/bin/hardening/9.1.6_cron_monthly_perm_ownership.sh index 38a8bd1..5cceed2 100755 --- a/bin/hardening/9.1.6_cron_monthly_perm_ownership.sh +++ b/bin/hardening/9.1.6_cron_monthly_perm_ownership.sh @@ -70,11 +70,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.1.7_cron_d_perm_ownership.sh b/bin/hardening/9.1.7_cron_d_perm_ownership.sh index bca5fb9..0ffb245 100755 --- a/bin/hardening/9.1.7_cron_d_perm_ownership.sh +++ b/bin/hardening/9.1.7_cron_d_perm_ownership.sh @@ -70,11 +70,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.1.8_cron_users.sh b/bin/hardening/9.1.8_cron_users.sh index 2706b5e..14e75d3 100755 --- a/bin/hardening/9.1.8_cron_users.sh +++ b/bin/hardening/9.1.8_cron_users.sh @@ -97,11 +97,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.2.1_enable_cracklib.sh b/bin/hardening/9.2.1_enable_cracklib.sh index 0f0eb5e..478bae7 100755 --- a/bin/hardening/9.2.1_enable_cracklib.sh +++ b/bin/hardening/9.2.1_enable_cracklib.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.2.2_enable_lockout_failed_password.sh b/bin/hardening/9.2.2_enable_lockout_failed_password.sh index 4144119..294f658 100755 --- a/bin/hardening/9.2.2_enable_lockout_failed_password.sh +++ b/bin/hardening/9.2.2_enable_lockout_failed_password.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.2.3_limit_password_reuse.sh b/bin/hardening/9.2.3_limit_password_reuse.sh index 2b81158..e813f39 100755 --- a/bin/hardening/9.2.3_limit_password_reuse.sh +++ b/bin/hardening/9.2.3_limit_password_reuse.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.10_disable_sshd_setenv.sh b/bin/hardening/9.3.10_disable_sshd_setenv.sh index e0f9d5f..4f1cc3b 100755 --- a/bin/hardening/9.3.10_disable_sshd_setenv.sh +++ b/bin/hardening/9.3.10_disable_sshd_setenv.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.11_sshd_ciphers.sh b/bin/hardening/9.3.11_sshd_ciphers.sh index 4836119..082e216 100755 --- a/bin/hardening/9.3.11_sshd_ciphers.sh +++ b/bin/hardening/9.3.11_sshd_ciphers.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.12_sshd_idle_timeout.sh b/bin/hardening/9.3.12_sshd_idle_timeout.sh index 94e4da2..c8476ce 100755 --- a/bin/hardening/9.3.12_sshd_idle_timeout.sh +++ b/bin/hardening/9.3.12_sshd_idle_timeout.sh @@ -75,11 +75,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.13_sshd_limit_access.sh b/bin/hardening/9.3.13_sshd_limit_access.sh index f6475f8..a38861c 100755 --- a/bin/hardening/9.3.13_sshd_limit_access.sh +++ b/bin/hardening/9.3.13_sshd_limit_access.sh @@ -89,11 +89,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.14_ssh_banner.sh b/bin/hardening/9.3.14_ssh_banner.sh index b44a310..5635c96 100755 --- a/bin/hardening/9.3.14_ssh_banner.sh +++ b/bin/hardening/9.3.14_ssh_banner.sh @@ -73,11 +73,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.1_sshd_protocol.sh b/bin/hardening/9.3.1_sshd_protocol.sh index ad0c5f3..fe37750 100755 --- a/bin/hardening/9.3.1_sshd_protocol.sh +++ b/bin/hardening/9.3.1_sshd_protocol.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.2_sshd_loglevel.sh b/bin/hardening/9.3.2_sshd_loglevel.sh index b15af1b..c789c0f 100755 --- a/bin/hardening/9.3.2_sshd_loglevel.sh +++ b/bin/hardening/9.3.2_sshd_loglevel.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.3_sshd_conf_perm_ownership.sh b/bin/hardening/9.3.3_sshd_conf_perm_ownership.sh index 0acef81..4022479 100755 --- a/bin/hardening/9.3.3_sshd_conf_perm_ownership.sh +++ b/bin/hardening/9.3.3_sshd_conf_perm_ownership.sh @@ -70,11 +70,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.4_disable_x11_forwarding.sh b/bin/hardening/9.3.4_disable_x11_forwarding.sh index 57df8d5..ad36ef7 100755 --- a/bin/hardening/9.3.4_disable_x11_forwarding.sh +++ b/bin/hardening/9.3.4_disable_x11_forwarding.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.5_sshd_maxauthtries.sh b/bin/hardening/9.3.5_sshd_maxauthtries.sh index 00db940..7f61f2f 100755 --- a/bin/hardening/9.3.5_sshd_maxauthtries.sh +++ b/bin/hardening/9.3.5_sshd_maxauthtries.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.6_enable_sshd_ignorerhosts.sh b/bin/hardening/9.3.6_enable_sshd_ignorerhosts.sh index e74c30c..fefd8fb 100755 --- a/bin/hardening/9.3.6_enable_sshd_ignorerhosts.sh +++ b/bin/hardening/9.3.6_enable_sshd_ignorerhosts.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.7_disable_sshd_hostbasedauthentication.sh b/bin/hardening/9.3.7_disable_sshd_hostbasedauthentication.sh index 4ae0486..d4df8d7 100755 --- a/bin/hardening/9.3.7_disable_sshd_hostbasedauthentication.sh +++ b/bin/hardening/9.3.7_disable_sshd_hostbasedauthentication.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.8_disable_root_login.sh b/bin/hardening/9.3.8_disable_root_login.sh index 890e636..79c0433 100755 --- a/bin/hardening/9.3.8_disable_root_login.sh +++ b/bin/hardening/9.3.8_disable_root_login.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.3.9_disable_sshd_permitemptypasswords.sh b/bin/hardening/9.3.9_disable_sshd_permitemptypasswords.sh index bda4337..8674b60 100755 --- a/bin/hardening/9.3.9_disable_sshd_permitemptypasswords.sh +++ b/bin/hardening/9.3.9_disable_sshd_permitemptypasswords.sh @@ -72,11 +72,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.4_secure_tty.sh b/bin/hardening/9.4_secure_tty.sh index e809230..1db29bd 100755 --- a/bin/hardening/9.4_secure_tty.sh +++ b/bin/hardening/9.4_secure_tty.sh @@ -31,11 +31,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/9.5_restrict_su.sh b/bin/hardening/9.5_restrict_su.sh index e79f726..7c192c7 100755 --- a/bin/hardening/9.5_restrict_su.sh +++ b/bin/hardening/9.5_restrict_su.sh @@ -55,11 +55,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/99.1_timeout_tty.sh b/bin/hardening/99.1_timeout_tty.sh index 9c14f24..a1a35cd 100755 --- a/bin/hardening/99.1_timeout_tty.sh +++ b/bin/hardening/99.1_timeout_tty.sh @@ -48,11 +48,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/bin/hardening/99.2_disable_usb_devices.sh b/bin/hardening/99.2_disable_usb_devices.sh index 9c40d04..20f56a6 100755 --- a/bin/hardening/99.2_disable_usb_devices.sh +++ b/bin/hardening/99.2_disable_usb_devices.sh @@ -57,11 +57,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi diff --git a/src/skel b/src/skel index eb6a710..b3b4941 100644 --- a/src/skel +++ b/src/skel @@ -27,11 +27,11 @@ check_config() { } # Source Root Dir Parameter -if [ ! -r /etc/default/cis-hardenning ]; then - echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting" +if [ ! -r /etc/default/cis-hardening ]; then + echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting" exit 128 else - . /etc/default/cis-hardenning + . /etc/default/cis-hardening if [ -z $CIS_ROOT_DIR ]; then echo "No CIS_ROOT_DIR variable, aborting" fi