[Bug 60165] New: debug root priv app

Jon Smirl jonsmirl at yahoo.com
Sat Jun 21 07:12:06 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=60165     
           Summary: debug root priv app
           Product: kdevelop
           Version: unspecified
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: jonsmirl at yahoo.com


Version:           gideon CVS - 6/21/03 (using KDE KDE 3.1)
Installed from:    RedHat RPMs

I am running Gideon as a normal user. I want to debug an app that needs root priv (opens the framebuffer). I set SETUID on both gdb and my app to force root. Gideon spawns the gdb as root, but no matter what I do my app is always spawned under my normal UID. I even set the owner of my app to root and it still spawns as my UID.

I can make this work by running Gideon as root but I'd rather not do that. Also, if I run the SETUID gdb and my app from the command line under my normal UID, the app runs as root.

1) Is there a solution for this?
2) Could there be a nice little checkbox that says run app as root?




More information about the KDevelop-devel mailing list