In the traditional Unix world, the typical way to grant a command (executable file) the superuser (root) privileges is to enable the SUID bit and have it owned by root. Look at the permission of the ping command in Linux – it does *NOT* have the SUID bit set and yet is able to open a raw socket connection … curious to know more ???
Here is the link to the article:
Enjoy 🙂 !!!