elevate gdb privileges

elevate gdb privileges

ik idokan at gmail.com
Mon Feb 27 12:33:19 IST 2012


Hello,

I have a program that I write that uses user-space libraries that talk
with kernel space, and I use an IDE for the development and debugging.

The program requires to run as super user, but I do not want to run
the whole IDE itself as super user, only gdb for this specific
project, but the IDE
does not allow me to do something like: /usr/bin/kdesu /usr/bin/gdb ...
I also do not wish to provide suid to root, and allow every one to use
gdb as root.

Beside executing gdb myself with sudo, how would you recommend me to
elevate user privileges for gdb on such case ?

Thanks,
Ido



More information about the Linux-il mailing list