I've been scared too much by the warning about setuid. However I cannot find a way around using it.
I want to be able to run:
arp -s 198.51.100.1 00:53:00:12:34:56
as the user
steven but arp -s requires root.
Would this be the correct way to do it?
sudo nano example.sh sudo chmod u+s example.sh sudo chmod og-w example.sh sudo chmod o+x example.sh ./example.sh