I don\'t know what the deal is here…
So I want to run an applescript: sudo osascript myscript.scpt
sudo osascript myscript.scpt
This works fine in the terminal, but not when
Run sudo visudo command then set -%sudo ALL=(ALL:ALL) to %sudo ALL=(ALL:ALL) NOPASSWD: ALL it will work.
sudo visudo
-%sudo ALL=(ALL:ALL)
%sudo ALL=(ALL:ALL) NOPASSWD: ALL