On Tue, Apr 13, 2010 at 09:12:07AM -0700, Bryce Schober wrote: > Is there a way to get Qt Creator to launch gdb as super-user? Obviously, I > can start Qt Creator as super-user, but that leaves all the modified source > and outputs with superuser perms, which screws up normal-user operations > like svn, etc. I tried several different ways of wrapping gdb, and > specifying the wrapper in Qt creator's gdb settings, but have had no > success.
Not sure this can be completed to a 'full solution', but if you make a copy of your /bin/sh chmod +s and export SHELL=/path/to/this/shell then 'shell id' within gdb gives you an euid of 0. And then there's setreuid()... Andre' _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
