Hi,
an updated version is now available: It has come to my attention that
version 1 correctly unlocked root for KWrite and Kate, but not for Dolphin.
This is because Dolphin uses the "kdeinit hack", so the getuid check is not
in the dolphin binary, but in the libkdeinit5_dolphin.so library.
Version 2 now:
* patches libkdeinit5_dolphin.so with s/getuid/getpid/g into
libkdeinit5_d0lphin.so, and
* patches /usr/bin/dolphin with
s/libkdeinit5_dolphin\.so/libkdeinit5_d0lphin.so/g into
/usr/local/bin/dolphin.
This should make "kdesu dolphin" work, too. (Please note that using kdesu
means that the library is never actually loaded by kdeinit5, so it should
not matter that the name of the libkdeinit5_d0lphin.so library does not
match the name of the binary, as long as the binary is linked to the correct
library.)
Kevin Kofler