TMAegisBeta
更多 macos 規則

macOS

TMA-MACOS-2.3.2.1

Ensure Set Time and Date Automatically Is Enabled

中等級 1自動化macos

說明

Correct date and time settings are required for authentication protocols, file creation, modification dates, and log entries. Note: If your organization has internal time servers, enter them here. Enterprise mobile devices may need to use a mix of internal and external time servers. If multiple servers are required, use the Date & Time System Preference with each server separated by a space.

檢查方式

稽核方法: Shell 指令

shell
/usr/sbin/systemsetup -getusingnetworktime 2>/dev/null
預期輸出
Network Time: On

修補方式

修補方法: 操作指南或基礎設施修補檔

Terminal: sudo /usr/sbin/systemsetup -setnetworktimeserver <your.time.server> ; sudo /usr/sbin/systemsetup -setusingnetworktime on ; sudo /usr/sbin/systemsetup -setnetworktimeserver time.apple.com. GUI: System Settings > General > Date & Time > Set Set time and date automatically to enabled.

屬性

作業系統
macos-26
標籤
macossystem-settings
參考資料
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.3.2.1 Ensure Set Time and Date Automatically Is Enabled

檢查此主機

請在您有權稽核的機器上執行此指令。掃描為唯讀操作。

shell
tmaegis scan --target macos