Skip to main content
Question

Standard users wifi settings Monterey

  • June 1, 2022
  • 7 replies
  • 49 views

ejadadic
Forum|alt.badge.img+9

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?

7 replies

geoff_widdowson
Forum|alt.badge.img+8

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

 


ejadadic
Forum|alt.badge.img+9
  • Author
  • Contributor
  • 28 replies
  • June 1, 2022

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?


geoff_widdowson
Forum|alt.badge.img+8

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?


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.


ejadadic
Forum|alt.badge.img+9
  • Author
  • Contributor
  • 28 replies
  • June 3, 2022

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.


Thank you!


Forum|alt.badge.img+7

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

 


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.


Forum|alt.badge.img+7

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

 


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.


KyleEricson
Forum|alt.badge.img+17
  • Valued Contributor
  • 444 replies
  • June 9, 2022

@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