Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to push Location Services settings with Profile Manager in Yosemite?

I need to push Location Services settings to a bunch of MacBooks via Profile Manager.

Server is OS X Yosemite and so are the MacBooks.


But I can't find the right plist file to enable en change the Location Services.

I need this done by pushing a profile, because we disable the Security & Privacy preferences in System Preferences so (Even Admin) users can't make changes here.

Posted on Feb 26, 2015 6:09 AM

Reply
1 reply

Feb 26, 2015 6:23 AM in response to jcouzy

While I was not at the time trying to do it via Profile Manager I did previously look at trying to enable Location Services via a script. Unfortunately I found it too hard or more accurately I failed to do this. I ended up 'cheating' by logging in on a test Mac, manually setting up Locations Services the way I wanted including most importantly setting the Security & Privacy settings to allow a specific application to use Location Services. I then saved a copy of the relevant configuration file which is -


/private/var/db/locationd/clients.plist


I then as part of my DeployStudio workflow to image fresh computers included a step to copy this to the correct location on the fresh computer, thereby 'restoring' the settings.


So the short answer is that /private/var/db/locationd/clients.plist is the file but the structure is such that a simple defaults write is not possible.


Let me know if you get anywhere with this.

How to push Location Services settings with Profile Manager in Yosemite?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.