Starting the debugger as root without starting Eclipse as root [message #198416] |
Thu, 08 March 2007 05:41  |
Eclipse User |
|
|
|
Originally posted by: lambert_anne.club.lemonde.fr
Hi,
I am developing a small C program that uses the libpcap library. For the
program to work it need to be started it as root. How do I get the
debugger to start itself with root??
I tried adding an alias: gdb 'sudo gdb' but when started with eclipse I am
still the owner of the process... If I try to start gdb outside of
Eclipse, no problem, owner is root.
Any idea?
Thanks for any help,
Anne
|
|
|
Re: Starting the debugger as root without starting Eclipse as root [message #198603 is a reply to message #198416] |
Thu, 08 March 2007 11:01  |
Eclipse User |
|
|
|
Hi Anne,
You are more likely to get an answer in the eclipse.tools.cdt newsgroup
HTH
Darins
"Anne Lambert" <lambert_anne@club.lemonde.fr> wrote in message
news:7bab7c9679cc1a2ed79fe78191eae2e2$1@www.eclipse.org...
> Hi,
>
> I am developing a small C program that uses the libpcap library. For the
> program to work it need to be started it as root. How do I get the
> debugger to start itself with root?? I tried adding an alias: gdb 'sudo
> gdb' but when started with eclipse I am still the owner of the process...
> If I try to start gdb outside of Eclipse, no problem, owner is root.
>
> Any idea? Thanks for any help,
>
> Anne
>
|
|
|
Powered by
FUDForum. Page generated in 0.07344 seconds