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 |
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> |
How do I do a chroot jail within Eclipse then?
|
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. |