I have a certain binary program on OS X that can only be run as root.
I'm tired of prepending
sudo each time I invoke it and typing the password, and would like it to automatically run as root when I invoke it regularly, without asking for a password.
The program's owner is root and its group is wheel.
chmod ug+s to set the userid and groupid upon execution to root/wheel, but when I run the program without sudo it still complains that it can only run with sudo or as root.