Cheat Sheets

Security - ntpd on

Description

There must be a running ntpd

Tags

  • CCE-27093-4

Solution

apt-get install ntp; /etc/init.d/ntp start

Check Script: security-ntpd-active.sh

#!/bin/bash

if ! pgrep -f ntpd >/dev/null; then result_failed "No running 'ntpd' process found!" fi