Re: konqueror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 07/25/2017 07:42 PM, Patrick O'Callaghan wrote:
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


Sure it does. kwrite.test being a copy of /usr/bin/kwrite

[boutilpj@localhost ~]$ strings kwrite.test |grep getuid
getuid

[boutilpj@localhost ~]$ sed -i "s/getuid/getpid/g" kwrite.test

[boutilpj@localhost ~]$ strings kwrite.test |grep getuid

[boutilpj@localhost ~]$ strings kwrite.test |grep getpid
getpid




Also, are you sure you mean 'getpid'?

poc

_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx

begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@xxxxxxxxxxx
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
x-mozilla-html:FALSE
version:2.1
end:vcard

_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux