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?
I might be wrong, but I think this is a limitation in gdb. Try doing that from GDB outside Gideon and please report back.
This bug can have severe side effects. See http://bugs.kde.org/show_bug.cgi?id=60758 Using kdevelop editors while running as root is a really good way to screw up your source control system.
58152 is a dup of this
*** Bug 58152 has been marked as a duplicate of this bug. ***
Technically, this is a wish rather than a bug, but I agree it should be fixed and really is a missing piece of functionality.
*** Bug 83891 has been marked as a duplicate of this bug. ***
SVN commit 897975 by rodda: Support running programs as other users, using kdesudo. Reads the entry "Run As User" in the project config file, which currently has no gui. For the bugreport, the only thing missing (apart from the gui to configure) is to make gdb run the process as the given user - maybe gdb itself has to be run as that user? CCBUG:60165 M +10 -1 interfaces/irun.cpp M +9 -0 interfaces/irun.h M +11 -8 plugins/execute/executeplugin.cpp M +1 -0 shell/runcontroller.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=897975
*** Bug 201768 has been marked as a duplicate of this bug. ***
*** Bug 289044 has been marked as a duplicate of this bug. ***