Skip to main content
Solved

unlocking system prefs for non admins in 10.12.4

  • April 20, 2017
  • 3 replies
  • 34 views

Forum|alt.badge.img+5

I'm trying to unlock some of the system preferences but the security authorizationdb write system.preferences does not seem to work any more ... However old scripts I unless for time settings etc ... are also no longer working so I guess something has changed?

This is what I am using

#!/bin/sh

security authorizationdb write system.preferences allow
security authorizationdb write system.preferences.network allow

exit 0

Best answer by martinf

Right a bit more digging around and i need to change another entry too for it to worl

security authorizationdb write system.services.systemconfiguration.network allow

and that now fixes on my 10.12 builds

I keep searching but am yet to find a definitive list of all the authorizationdb system.services

3 replies

Forum|alt.badge.img+9
  • Valued Contributor
  • April 21, 2017

I will have to verify tomorrow if I was running this on an updated VM, but I had it working on Sierra earlier today.

Though I set most of those on a 12.0 AutoDMG image and then update so that may make a difference.


Forum|alt.badge.img+5
  • Author
  • New Contributor
  • April 21, 2017

I think it may just be related to the .network attribute as i tried with printing & datetime and they seemed to work ok


Forum|alt.badge.img+5
  • Author
  • New Contributor
  • Answer
  • April 21, 2017

Right a bit more digging around and i need to change another entry too for it to worl

security authorizationdb write system.services.systemconfiguration.network allow

and that now fixes on my 10.12 builds

I keep searching but am yet to find a definitive list of all the authorizationdb system.services