LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Exploit programming and SetUID (https://www.linuxquestions.org/questions/linux-newbie-8/exploit-programming-and-setuid-110091/)

darkseed2g3 10-29-2003 04:57 PM

Exploit programming and SetUID
 
Im learning how to program , find and explore exploits. This question is gonna sound lame but how do i set the SUID bit on a program so that when a normal executes it and exploits it , it will make them root.

Basicly what is the chmod command to make a program SUID

inode100 10-30-2003 04:44 PM

chmod u+s <filename>

inode100 10-30-2003 04:51 PM

although SUID just means that when the programme is executed it will only run as the the id of whatever the owner of the file is.


All times are GMT -5. The time now is 09:07 PM.