Wrap it with a suid shell/c program which exec(2)'s it?

On 27 February 2012 21:33, ik <[email protected]> wrote:

> 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
>
> _______________________________________________
> Linux-il mailing list
> [email protected]
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>



-- 
 [image: View my profile on LinkedIn]
<http://www.linkedin.com/in/gliderflyer>
_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to