Posted on 05-31-2022 08:30 PM
Greetings everyone,
I would like to see if folks have a solution in place for standard Monterey users being able to modify wifi settings without admin privileges?
Posted on 06-01-2022 12:39 AM
I run a policy on all my device that unlocks the network settings.
#!/bin/sh
security authorizationdb write system.preferences.network allow
security authorizationdb write system.services.systemconfiguration.network allow
/usr/libexec/airportd prefs RequireAdminNetworkChange=NO RequireAdminIBSS=NO
Posted on 06-05-2022 03:49 PM
Hi, what target systems is this going to? I'm trying your exact script, I copied and pasted it... And while it looks unlocked it will still ask the user for admin username and password when they click apply.
I need to be able to give users the power to re-arrange the order and remove unwanted wifi networks.
Posted on 06-05-2022 04:00 PM
I decided to run the commands one by one inside terminal and noticed that it barks at that last one. I get the following error "Failed to commit preference changes (Permission denied).".
I saw on some other posts a suggestion to address the network port direct via en0 or whatever address your wifi is on but that sadly made no difference.
Posted on 06-01-2022 05:15 AM
Thanks for the reply. We run something similar at least in the last part
/usr/libexec/airportd prefs RequireAdminNetworkChange=NO RequireAdminIBSS=NO worked in the past, does this require to be run at each reboot?
Posted on 06-01-2022 05:27 AM
Each of my unlock polices is set to run each week. I don't think you need to do it every reboot, but something reverts the setting back to default, I forget what. The polices running weekly works for me.
Posted on 06-03-2022 11:35 AM
Thank you!
Posted on 06-08-2022 10:11 PM
@ejadadic I would set up Outset to run this script at login-every so it will ensure users don't lose access. I think this database gets reset after updates and sometimes after reboot.
https://github.com/chilcote/outset