Allowing non-admins to change network settings in OS

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

First line MUST be used to enable settings on system preferences
Second and Third line open the Network settings and allow the configuration to be changed by non admins