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