When a user starts a command, it runs with the permissions of that
user. What if you want to allow them to run some commands with root
permissions? You can, and that’s called suid.You can set a command to
be suid root with the chmod command. This will make it run as root even
if a user starts it. Here is how to set mybin suid root:
chmod +s mybin
Note that you must be very careful with this option.
Read more