So I'm currently using this to unlock the network preference pane
#!/bin/sh security authorizationdb write system.preferences allow
security authorizationdb write system.preferences.network allow security
authorizationdb write system.services.systemc...