Posted on 08-06-2015 01:09 PM
Hello all,
I have a very specific need to set the NTP server on my endpoints using a configuration profile rather than through a policy because I have clients who's time shifted past 5 minutes and thus cannot run policies.
I have tried to research a bit if Configuration Profiles have any ability to adjust the time settings in OS X but have come up with nothing. Does anyone in the community know if it is possible to set the NTP server using Configuration Profiles?
In case anyone is interested, here is a script to set the NTP server for your clients.
#!/bin/sh
# Set Network Time Server
systemsetup -setnetworktimeserver time.apple.com
exit 0
Posted on 08-06-2015 01:34 PM
Not sure if there is a way to do this by using a Configuration Profile, as that information is stored in /etc/ntp.conf, a text file.
What I would do in this situation is to first change the Maximum Clock Skew of the server to "No Maximum", then use a policy with your script, to fix all the machines. Then if required, for whatever reason, change the Maximum Clock Skew back to what it was.
The Maximum Clock Skew located under Computer Management settings > Security
Posted on 08-06-2015 03:37 PM
@Fveja you are my hero. I just did that and hopefully it will allow all of the workstations that have not been providing inventory reports to update and then run the policy to set their time server.
I will report back with the results.
Posted on 08-17-2017 01:11 PM
I will report back with the results.
I'm assuming success here?