From e8b70e9bf7505f584f0a57efcc7f25dc87b30472 Mon Sep 17 00:00:00 2001 From: Samson-W Date: Wed, 4 Mar 2020 14:47:00 +0800 Subject: [PATCH] Modify the values in 10.1.1 and 10.1.2 check items according to U_Red_Hat_Enterprise_Linux_7_V2R5. --- bin/hardening/10.1.1_set_password_exp_days.sh | 2 +- bin/hardening/10.1.2_set_password_min_days_change.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 b7f2079..c34caea 100755 --- a/bin/hardening/10.1.1_set_password_exp_days.sh +++ b/bin/hardening/10.1.1_set_password_exp_days.sh @@ -14,7 +14,7 @@ set -u # One variable unset, it's over HARDENING_LEVEL=3 -OPTIONS='PASS_MAX_DAYS=90' +OPTIONS='PASS_MAX_DAYS=60' FILE='/etc/login.defs' SHA_FILE='/etc/shadow' 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 c00e9df..daf4c57 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 @@ -14,7 +14,7 @@ set -u # One variable unset, it's over HARDENING_LEVEL=3 -OPTIONS='PASS_MIN_DAYS=7' +OPTIONS='PASS_MIN_DAYS=1' FILE='/etc/login.defs' SHA_FILE='/etc/shadow'