Rule ID
SV-277035r1148557_rule
Version
V1R2
Time synchronization must be enforced on all networked systems. This rule ensures the uniformity of time stamps for information systems with multiple system clocks and systems connected over a network. Satisfies: SRG-OS-000355-GPOS-00143, SRG-OS-000356-GPOS-00144, SRG-OS-000785-GPOS-00250
Verify the macOS system is configured to enforce time synchronization with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.timed')\
.objectForKey('TMAutomaticTimeOnlyEnabled').js
EOS
If the result is not "true", this is a finding.Configure the macOS system to enforce time synchronization by installing the "com.apple.ManagedClient.preferences" configuration profile.