Chapter 13
Time and synchronization
Updated July 3, 2026
Accurate time on a server matters more than it seems. Log entries line up by it, the scheduler runs by it, TLS certificates are checked against it. If the clock drifts, logs from two machines cannot be correlated, and some secure connections simply will not establish.
Check the current state:
$ timedatectl
Local time: Mon 2026-06-22 14:03:11 UTC
Universal time: Mon 2026-06-22 14:03:11 UTC
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
NTP service: activeThe line System clock synchronized: yes says the time is pulled in automatically, and NTP service: active says the synchronization service is running.
The time zone
$ timedatectl lisLocked
The rest of this chapter is part of a paid course
You are reading the open part. Buy the course to read the whole chapter.