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.
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
- Open “Keychain Access”
- Enter
sharing
in the search bar and double-click on the entry which its ‘kind’ is “Internet-sharing password” - Go to “Access Control” tab
- Add these files:
/usr/libexec/sharingd
/System/Library/ExtensionKit/Extensions/Sharing.appex/Contents/MacOS/Sharing
/Application/System Settings.app
and you are done!