Run an app without sudo password on MacOS for hidapitester (HID Device Interface)
1
vote
0
answers
20
views
I have a script that calls
hidapitester
binary. But I have to run this script with sudo
privileges. If it's not called with sudo then it throws an error: Error: could not open device
.
Instead of always typing my sudo password when calling this script, is there any way to call this without asking sudo password? Or always-run with root privileges without sudo?
Asked by Dentrax
(111 rep)
Jun 25, 2024, 10:24 AM
Last activity: Jun 25, 2024, 10:27 AM
Last activity: Jun 25, 2024, 10:27 AM