Post

How to give keychain access to “Internet Sharing” feature in MacOS settings

If you use MacOS WiFi hotspot, you have seen that you have to enter your keychain password every time you want to turn that on or change anything! In this post I will tell you how you can add wifi internet sharing section to keychain exception.

How to give keychain access to “Internet Sharing” feature in MacOS settings

Hi there,

After a long long time, I faced another challenge which I couldn’t find a good solution for it on the internet.

Maybe you have tried “internet sharing” feature in MacOS to share your ethernet or VPN connection over WiFi or any other ways. Today I want to talk about this feature!

situation

When you want to share internet over wifi, maybe you are asked to enter your username and password every time you want to turn this feature on; its because the “internet sharing → wifi” in your macOS system settings wants to access keychain to retrieve Wi-Fi password you have chosen for your hotspot.

Personally, I prefer to set keychain access to be accessed by permission. Due to this, I had to enter password every time I wanted to change anything related to this wifi sharing feature, so I came across this solution!

solution

  1. Open “Keychain Access”
  2. Enter sharing in the search bar and double-click on the entry which its ‘kind’ is “Internet-sharing password”
  3. Go to “Access Control” tab
  4. Add these files:
    1. /usr/libexec/sharingd
    2. /System/Library/ExtensionKit/Extensions/Sharing.appex/Contents/MacOS/Sharing
    3. /Application/System Settings.app

and you are done!

This post is licensed under CC BY 4.0 by the author.