Asked on Super User by Arber, 3 years ago. No reply there for at least a week.
macOS: pkill a specific process without sudo?
Because of some recent bluetooth issues, I need to be able to run sudo pkill bluetoothd quite frequently, so I decided to create a shell script Shortcut to have on my menu bar for quick access. I usually need to run this command in urgent situations, so I hope you can understand typing in my password or waiting for Touch ID to finally recognise my finger can become annoying very quickly. At first I thought to use blueutil as it doesn't require sudo, but unfortunately it doesn't seem to work the same (it reconnects to my devices slower than terminating bluetoothd), so unless there's a way to ma
This question is one of 1 report of the same problem:
macOS: pkill a specific process without sudo?
Nobody has answered it yet, here or anywhere.
Related problems
Question by Arber on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.