Are you calling `security authorizationdb` as root or via sudo? Hard to diagnose when you don't show your work!
I think you need to have
security authorizationdb write system.preferences allow
before trying to unlock single PrefPanes.
After that you can do for example
security authorizationdb write system.preferences.datetime allow
to unlock Date&Time Prefs.
To unlock Network Prefs, you need
security authorizationdb write system.preferences.network allow
security authorizationdb write system.services.systemconfiguration.network allow
Thanks Chris.
After a reboot this works like charme.
Is there a source where I can find all system.preferences files that might be able to be unlocked?
Cheers,
Maik
Thanks Chris.
Hope that some of them are still working in 10.9
Cheers,
Maik
Sorry to necro post, but Is there a way to enable only a certain piece of the networking Preference Pane? Specifically, the proxies section. My users are also not Admins but require to make changes to the proxy settings for testing. Is there any way to do this easily? A script was written to allow this via the command line, but unfortunately it only allows entry of 1 proxy at a time. A GUI solution would work the best. Any ideas?
pretty sure you cant have that level of granularity. i would suggest creating an application/script available via self service that prompts the user for the proxy servers and then writes that out using networksetup. using self service should allow the script/application to run with elevated privileges for non-admins
jrserapio said:
" Is there a way to enable only a certain piece of the networking Preference Pane? Specifically, the proxies section"
I've used Locations for that purpose in the past. The only difference between each Location is the proxy entry. Quick & easy to flip between proxies and can also be scripted with networksetup.
Hi Chris can you please help me in unlocking the sharing panel in system preference "security authorizationdb write system.preferences.sharing allow" didn't work.
Thanks for the replies.
Calum - That is a good idea. I will see if i can get something like that going. Basically the userbase is Developers who dont have admin rights.
gchallis - Thanks for the response, but i would need to have an overwhelming amount of different locations to meet their needs going that route. The users change their proxies constantly for testing, which makes it a bit more difficult.