The Chrony package is installed
An XCCDF Rule
Description
System time should be synchronized between all systems in an environment. This is typically done by establishing an authoritative time server or set of servers and having all systems synchronize their clocks to them. Thechrony
package can be installed with the following command:
$ sudo zypper install chrony
Rationale
Time synchronization is important to support time sensitive security mechanisms like Kerberos and also ensures log files have consistent time records across the enterprise, which aids in forensic investigations.
- ID
- xccdf_org.ssgproject.content_rule_package_chrony_installed
- Severity
- Medium
- References
- Updated
Remediation Templates
An Ansible Snippet
- name: Gather the package facts
package_facts:
manager: auto
tags:
- CCE-91229-5
- PCI-DSS-Req-10.4
OS Build Blueprint
[[packages]]
name = "chrony"
version = "*"
A Shell Script
# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel-default; then
zypper install -y "chrony"
else
>&2 echo 'Remediation is not applicable, nothing was done'
fi
A Puppet Snippet
include install_chrony
class install_chrony {
package { 'chrony':
ensure => 'installed',
}
}