LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Debug in Eclipse as root (https://www.linuxquestions.org/questions/programming-9/debug-in-eclipse-as-root-490298/)

guysoft 10-07-2006 06:39 AM

Debug in Eclipse as root
 
Hello,
I have a program that has to run as root. How do I debug it in Eclipse without running the hole IDE as root?

Thanks,
Guy

Using debian if it helps

exvor 10-14-2006 12:23 AM

Create a chroot jail and run the program in there. But how you do that im not sure


"I dont know you just do it!" <Q from startrek TNG>

guysoft 10-16-2006 09:48 AM

How do I do a chroot jail within Eclipse then?

exvor 10-16-2006 07:30 PM

If im remebering correctly you would create a duplicate of the file system in another directory and then you chroot into that directory. Once your in you can then run things as root and they will run only in the directory not affecting the rest of the system. Im probably wrong and it probably involves more steps I remember reading about it a while back ago regarding security and what not.


this link talks about setting up a chroot jail and running bind
http://www.losurs.org/docs/howto/Chroot-BIND-2.html


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