News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Debugging as a normal user a program running as root

Started by plegal, January 09, 2008, 05:12:42 PM

Previous topic - Next topic

plegal

Hi

I've to debug a program that run under root identity as a normal user.
Is it a way to do that ?
I've successfully write a little script that change de owner/group  (root.root) of the target then put the "s" bit of the target and the executable can be use for a normal user.
But I can't debug it...

Any suggestion ?

Thx

Philippe   

dje


plegal

Hi,

Thanks for the answer
Can u explain a little bit more how I can use a virtual machine to solve my problem?
My problem is to dynamic change the owner of the process to debug from normal user to root...

Philippe

dje

Sorry, I misunderstood what you wrote.
What I said can't help you.
Sorry  :oops:

alchemist

Hello,

I think it will be impossible, for security reasons. If you can debug a root application, you could get root privileges and do dangerous things...
Kind Regards,
Xavier Miller.
[url="http://xaviermiller.be"]http://xaviermiller.be[/url]

plegal

Thanks for the replies

I also think that I've to run code:blocks under root identity to solve my problem.