SV-260520r1044776_rule
V-260520
SRG-OS-000356-GPOS-00144
UBTU-22-252015
CAT III
10
Configure chrony to synchronize the internal system clocks to the authoritative source when the time difference is greater than one second by doing the following:
Edit the "/etc/chrony/chrony.conf" file and add:
makestep 1 -1
Restart the chrony service:
$ sudo systemctl restart chrony.service
Verify Ubuntu 22.04 LTS synchronizes internal system clocks to the authoritative time source when the time difference is greater than one second.
Note: If the system is not networked, this requirement is not applicable.
Check the value of "makestep" by using the following command:
$ grep -ir makestep /etc/chrony*
makestep 1 -1
If "makestep" is not set to "1 -1", is commented out, or is missing, this is a finding.
Verify the NTP service is active and the system clock is synchronized with the authoritative time source:
$ timedatectl | grep -Ei '(synchronized|service)'
System clock synchronized: yes
NTP service: active
If the NTP service is not active, this is a finding.
If the system clock is not synchronized, this is a finding.
V-260520
False
UBTU-22-252015
Verify Ubuntu 22.04 LTS synchronizes internal system clocks to the authoritative time source when the time difference is greater than one second.
Note: If the system is not networked, this requirement is not applicable.
Check the value of "makestep" by using the following command:
$ grep -ir makestep /etc/chrony*
makestep 1 -1
If "makestep" is not set to "1 -1", is commented out, or is missing, this is a finding.
Verify the NTP service is active and the system clock is synchronized with the authoritative time source:
$ timedatectl | grep -Ei '(synchronized|service)'
System clock synchronized: yes
NTP service: active
If the NTP service is not active, this is a finding.
If the system clock is not synchronized, this is a finding.
M
5594