Give permission to execute process as super user...
I have a program(that is written by me) which need super user permission to execute it. But I need to let the normal users to execute it without using 'sudo ./executable' and just './executable'. how i can set the program to execute by the normal users without using 'sudo' or password prompting.
please help me... |
you need to set the "suid" bit:
Code:
chmod u+S /path/to/executable |
|
All times are GMT -5. The time now is 11:40 PM. |