Skip to main content

Has anyone been successful with opening the lock on the network preference pane in 10.9? I was using the old way of enable preference panes by running a script with the following commands in 10.8:



/usr/libexec/PlistBuddy -c "set rights:system.preferences:class allow" /etc/authorization
/usr/libexec/PlistBuddy -c "set rights:system.preferences.timemachine:class allow" /etc/authorization
/usr/libexec/PlistBuddy -c "set rights:system.preferences.network:class allow" /etc/authorization
/usr/libexec/PlistBuddy -c "set rights:system.preferences.energysaver:class allow" /etc/authorization
/usr/libexec/PlistBuddy -c "set rights:system.preferences.printing:class allow" /etc/authorization
/usr/libexec/PlistBuddy -c "set rights:system.preferences.datetime:class allow" /etc/authorization


In 10.9 PlistBuddy no longer works and you have to use the security command:



security authorizationdb write system.preferences allow
security authorizationdb write system.preferences.timemachine allow
security authorizationdb write system.preferences.network allow
security authorizationdb write system.preferences.energysaver allow
security authorizationdb write system.preferences.printing allow
security authorizationdb write system.preferences.datetime allow


All of the system panes listed above have opened but the network pane. Is there something I'm missing in the following command:



security authorizationdb write system.preferences.network allow

I think you need



security authorizationdb write system.preferences.network allow


and



security authorizationdb write system.services.systemconfiguration.network allow

That worked. Thanks.