mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
Setting for TimeServer #325
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @robertgendler on GitHub.
Summary
https://developer.apple.com/documentation/devicemanagement/timeserver
The domain com.apple.MCX with they key timeServer can be overruled by the systemsetup binary
Steps to reproduce
sudo systemsetup -setnetworktimeserver "example.com"
Operating System version
macOS 10.15.5
What is the expected correct behavior?
The expected behavior is that a configuration sets the setting permanently.
Possible fixes
Setting the time server using
systemsetup -setnetworktimeserver "time-a.nist.gov,time-b.nist.gov"
Checking the time server using
systemsetup -getnetworktimeserver
@golbiga commented on GitHub:
Configuration profile will re-apply settings, keeping as is.