ROONEY116

Q: How can I get the Yosemite OS X image to permanently disable the 802.1X tick box for Enable Automatic Connection over Ethernet on all current and new user profiles ?

The setting under the LAN Ethernet adapter in - System Preferences>Network>Advanced>802.1X Tab

Bottom left of the window is an "Enable Automatic Connection" tick box.

I would love to know how to permanently un-tick this feature for all current and new profiles that are created. I'm assuming I will need to add a script of some sort ?

At the moment the image I have captured turns off the feature but only in the default Administrator account that is deployed with the image. I need to turn this off for all profiles to enable the Client to contact our servers over LAN. I'm hoping to achieve this without having to turn it off manually each time I create a new user profile.

MacBook Pro, OS X Yosemite (10.10.1), null

Posted on Jan 26, 2015 6:08 AM

Close

Q: How can I get the Yosemite OS X image to permanently disable the 802.1X tick box for Enable Automatic Connection over Ethernet on ... more

  • All replies
  • Helpful answers

  • by Bruce Stewart,

    Bruce Stewart Bruce Stewart Sep 2, 2016 10:18 AM in response to ROONEY116
    Level 1 (24 points)
    Sep 2, 2016 10:18 AM in response to ROONEY116

    To turn this off I used a login script.

    The feature is set in a plist file but since 10.8 the have moved the file location as well as changed the plist key from a text to a boolean value. They then obfuscated it further by tacking a GUID on the name of the plist file for each user. I don't think they want us turning this off. But for my work environment that uses 802.1x for some situations and not others, this is a problem.

     

     

    The login script looks for the file name then calls it in the function that writes the plist value.

     

    #!/bin/bash

     

    ### Variables

    user=`/usr/bin/logname`

    x=$(find ~/Library/Preferences/ByHost -name "com.apple.network.eapolcontrol*.plist")

    ### comment out to see values in Terminal

     

    ### Functions

     

    defaults write $x EthernetAutoConnect -bool false