Install the ntp service
An XCCDF Rule
Description
The ntpd service should be installed.
Rationale
Time synchronization (using NTP) is required by almost all network and administrative tasks (syslog, cryptographic based services (authentication, etc.), etc.). Ntpd is regulary maintained and updated, supporting security features such as RFC 5906.
- ID
- xccdf_org.ssgproject.content_rule_package_ntp_installed
- Severity
- High
- References
- Updated
Remediation - Puppet
include install_ntp
class install_ntp {
package { 'ntp':
ensure => 'installed',
}
Remediation - Ansible
- name: Gather the package facts
package_facts:
manager: auto
tags:
- NIST-800-53-CM-6(a)
- PCI-DSS-Req-10.4
Remediation - script:kickstart
package install ntp
Remediation - OS Build Blueprint
[[packages]]
name = "ntp"
version = "*"
Remediation - script:bootc
dnf install ntp
Remediation - Anaconda Pre-Install Instructions
package --add=ntp
Remediation - Shell Script
# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel; then
if ! rpm -q --quiet "ntp" ; then
yum install -y "ntp"
fi