Page 1 of 1

Debugging a root process with "Quick debug"

Posted: Fri Dec 06, 2013 12:29 pm
by dlezama
Hi, in this page http://codelite.org/LiteEditor/Debugging there is a tip to set SUID for gdb in order to debug a root process. I'm using "Quick debug" and I see that gdb is ran as root, but the process I'm trying to debug is not, even when I set the SUID bit for it too (running it directly from a shell works as expected). What is making my process run with my user instead of root when it's launched in this way?

Re: Debugging a root process with "Quick debug"

Posted: Fri Dec 06, 2013 2:09 pm
by eranif
I think that this is a limitation of the "SUID" thingi
For me, I simply run a second instance of codelite as root and use it to attach process

Eran