Posted on 10-05-2012 07:55 AM
Hi all,
Looking for an easy way to enable the checkbox that requires admin authorization to change wireless networks. I'm trying to avoid MCX as the solution. Any scripts or unix commands?
Gabe Shackney
Instructional Technology Specialist
Princeton Public Schools
Posted on 10-05-2012 08:08 AM
Here's what I use...
/usr/libexec/airportd prefs RequireAdminNetworkChange=YES RequireAdminIBSS=YES
Posted on 10-05-2012 10:19 AM
I also needed to ensure that the Wi-Fi doesn't get turned off by non-admin users so I included the exta line.
/usr/libexec/airportd prefs RequireAdminIBSS=YES RequireAdminNetworkChange=YES RequireAdminPowerToggle=YES
I tested this on OS X 10.8.2
Posted on 09-27-2018 07:55 AM
I know this is an old thread but I noticed on 10.12 and 10.13 these commands are accepted but I can still change the settings? Is this true or is it just me?
Posted on 01-10-2019 11:31 AM
@Chuey They work for me on 10.13.6 and 10.14.2. I can still open the airport icon menu bar, but any attempts to change settings prompts for admin credentials.
Posted on 10-23-2019 08:13 PM
@Chuey same thing happens for me. It toggles the preference, but I can change it without issue (admittedly, I am logged in as an admin).