Ubuntu 22.04

Ubuntu 22.04 LTS must record time stamps for audit records that can be mapped to Coordinated Universal Time (UTC)

STIG ID: UBTU-22-252020 | SRG: SRG-OS-000359-GPOS-00146 | Severity: Low | CCI: CCI-001890 | Vulnerability ID: V-260521

Description

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 UTC or local time with an offset from UTC.

Check

C-64250r953374_chk

Verify the time zone is configured to use UTC by using the following command: $ timedatectl status | grep -i "time zone" Time zone: Etc/UTC (UTC, +0000) If "Time zone" is not set to UTC, this is a finding.

Fix

F-64158r953375_fix

To Configure Ubuntu 22.04 LTS time zone to use UTC, run the following command: $ sudo timedatectl set-timezone Etc/UTC