|Finding ID||Version||Rule ID||IA Controls||Severity|
|If time stamps are not consistently applied and there is no common time reference, it is difficult to perform forensic analysis. Time stamps generated by the operating system include date and time. Time is commonly expressed in Coordinated Universal Time (UTC), a modern continuation of Greenwich Mean Time (GMT), or local time with an offset from UTC.|
|Canonical Ubuntu 18.04 LTS Security Technical Implementation Guide||2022-12-06|
|Check Text ( C-21058r305327_chk )|
| The time zone must be configured to use Coordinated Universal Time (UTC) or Greenwich Mean Time (GMT). To verify run the following command. |
# sudo timedatectl status | grep -i "time zone"
Timezone: UTC (UTC, +0000)
If "Timezone" is not set to UTC or GMT, this is a finding.
|Fix Text (F-21057r305328_fix)|
| To configure the system time zone to use Coordinated Universal Time (UTC) or Greenwich Mean Time (GMT), run the following command replacing [ZONE] with UTC or GMT. |
# sudo timedatectl set-timezone [ZONE]