I want to disable the Bluetooth Sharing that is located in the sharing preference section. I want to be able to disable it via terminal, does anyone have an idea on how to do that?
MacOS – How to disable Bluetooth Sharing via terminal
command linemacosterminal
Related Question
- MacOS – Disable Screen sharing via the command line in mountain lion
- MacOS – How to disable screen sharing
- MacOS – Start/Stop Internet Sharing via Terminal in Yosemite without AppleScript
- MacOS – How to disable Printer Sharing via terminal
- MacOS – How to enable/disable OS X beta participation from Terminal
- MacOS – Connect to Bluetooth device via terminal
Best Answer
This is what I'm using for Yosemite:
First, grab $hardwareUUID:
Then loop through existing users and set to "Disabled"
If you just want the chunk that actually disables the value, see below: