diff --git a/bin/hardening/2.2.1.4_configure_ntp.sh b/bin/hardening/2.2.1.4_configure_ntp.sh index 98aca64..e36fa50 100755 --- a/bin/hardening/2.2.1.4_configure_ntp.sh +++ b/bin/hardening/2.2.1.4_configure_ntp.sh @@ -20,7 +20,7 @@ DESCRIPTION="Configure Network Time Protocol (ntp). Check restrict parameters an HARDENING_EXCEPTION=ntp PACKAGE='ntp' -NTP_CONF_DEFAULT_PATTERN='^restrict -4 default (kod nomodify notrap nopeer noquery|ignore)' +NTP_CONF_DEFAULT_PATTERN='^restrict -4 default (kod nomodify notrap nopeer noquery|kod notrap nomodify nopeer noquery|ignore)' NTP_CONF_FILE='/etc/ntp.conf' NTP_INIT_PATTERN='RUNASUSER=ntp' NTP_INIT_FILE='/etc/init.d/ntp'