Skip to main content
7 events
when toggle format what by license comment
Nov 6, 2011 at 7:52 vote accept Uthman
Nov 6, 2011 at 7:52
Nov 6, 2011 at 7:51 vote accept Uthman
Nov 6, 2011 at 7:52
Apr 15, 2010 at 13:41 comment added edk I thought it was stated quite clear in my answer.
Apr 15, 2010 at 13:19 comment added Uthman Clicked the 'this is a great comment' mistakenly. :P Okay here is what I understand. Correct me if I am wrong. You want me to write a C program which will setuid(0) and then run my script via system("/home/namsu/Desktop/my_copying_script") and finally I set the executable of this C code to run at startup. Right? :)
Apr 15, 2010 at 13:04 comment added edk Like the one I gave. You can play with this example and modes 4755 & 6755: codepad.org/zkCULq3q
Apr 15, 2010 at 12:44 comment added Uthman Sorry edK but I think I did not understand your first suggestion. I have set the suid of my program using chmod +s command. Now, what will the C code do?
Apr 15, 2010 at 11:41 history answered edk CC BY-SA 2.5