Bug 83891

Summary: wish: allow "attach to process as root"
Product: [Applications] kdevelop Reporter: Nir <nir_l3>
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: nir_l3
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nir 2004-06-23 19:22:38 UTC
Version:           3.0.x (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

When you have to debug a daemon, or better yet - a shared object loaded by a daemon, you have to "attach to process" as root user.
And of course - I don't want to run kdevelop as root...

I suggest add another menu item : "attach to process as root", that will ask for root's password, and then will su to root before attaching.

Bug 60165 may sound similar, but it is not the same.
Comment 1 Andreas Pakulat 2008-06-29 20:17:05 UTC
in fact its exactly the same thing, we don't need two reports open for the same bug: Allowing to debug applications running as root. It doesn't make a difference wether you attach to that app or wether you run them in gdb directly.

*** This bug has been marked as a duplicate of 60165 ***