From f775f47553319442d0b2ffd4cbdacc0b83835843 Mon Sep 17 00:00:00 2001 From: rajeshfrontline <95583348+rajeshfrontline@users.noreply.github.com> Date: Wed, 18 Dec 2024 23:16:15 +0530 Subject: [PATCH] PE-5714 --- cis-harden/harden.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cis-harden/harden.sh b/cis-harden/harden.sh index 2a825c3..f748a88 100755 --- a/cis-harden/harden.sh +++ b/cis-harden/harden.sh @@ -532,7 +532,7 @@ harden_system() { for each in echo /etc/cron.daily /etc/cron.hourly /etc/cron.d /etc/cron.monthly /etc/cron.weekly /etc/crontab do if [[ -e ${each} ]]; then - stat -L -c "%a %u %g" "${each}" | grep -E".00 0 0" + stat -L -c "%a %u %g" "${each}" | grep -E ".00 0 0" if $? -ne 0 ; then chown root:root "${each}" chmod og-rwx "${each}"