So in the spirit of this question I was wondering if it is possible to disable automatic 802.1X connection via terminal as well. Am I right to assume that this is a computer setting (meaning that if I run this script with no user logged in it still disables it for all existing and future users)?
|
It took me some hours to learn that it's a boolean value (and not just 0 or 1 as 'defaults' would report) but finally i came up with the following LoginHook which is run via su -- and does the trick. It seems to be a user-setting, although SystemPrefs would ask for a admin password to tweak this setting...
Using opensnoop(1) or fs_usage(1) I could not see any other files being modified. Hope it helps. |
|||
|
|
|
Just disable the Enable automatic connection tickbox in the 802.1x tab of your advanced interface option as it is the equivalent of the terminal command. |
|||
|
|
|
I don't know how this solution can work, since a LoginHook is executed as Here my solution:
Note that the option Cheers, Michele |
|||||
|
