On Wed, 2017-07-26 at 00:09 +0200, Kevin Kofler wrote:
Emmett Culley wrote:
> I have not been able to be productive since the update to Fedora 26, as I
> keep running into changes like this and like preventing kwrite from
> running as root.
Try:
sudo sed -i -e 's/getuid/getpid/g' /usr/bin/kwrite
and it should come up as root again.
Running sed on an executable is unlikely to work:
$ file /usr/bin/kwrite
/usr/bin/kwrite: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically
linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=3c378cb60be1e2a76f98
1ba5c15c1096f1b6a5b5, stripped
Also, are you sure you mean 'getpid'?
poc