Closed robertgendler closed 4 years ago
https://developer.apple.com/documentation/devicemanagement/timeserver The domain com.apple.MCX with they key timeServer can be overruled by the systemsetup binary
sudo systemsetup -setnetworktimeserver "example.com"
macOS 10.15.5
The expected behavior is that a configuration sets the setting permanently.
Setting the time server using systemsetup -setnetworktimeserver "time-a.nist.gov,time-b.nist.gov"
Checking the time server using systemsetup -getnetworktimeserver
Configuration profile will re-apply settings, keeping as is.
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