Dropping kdesudo
Aleix Pol
aleixpol at kde.org
Thu Sep 7 13:21:47 UTC 2017
On Thu, Sep 7, 2017 at 12:45 PM, Pali Rohár <pali.rohar at gmail.com> wrote:
> On Thursday 07 September 2017 12:35:19 Aleix Pol wrote:
>> On Thu, Sep 7, 2017 at 3:19 AM, Dale Trombley <buzzmandt at gmail.com> wrote:
>> > I'm one of those that always assumed anything graphic needed kdesudo (as
>> > opposed to gksudo). Am I wrong in that assumption?
>>
>> Yes, no graphical software should be ever run as root. It's a major
>> security problem as it exposes the problems with X11 to root
>> privileges.
>> If you find an application that requires it, feel free to report it as a bug.
>
> Any partition manager application (including the most powerful gnome's
> gparted or kde's partitionmanager) needs root for obvious reasons as
> access to hardware would always needs root.
>
> And it is not a bug, but correct behavior as normal user does not have
> access to hardware and raw disks.
They need it to query and to perform the tasks but not to display the
information or have the user interact with it.
That's why PolicyKit (and a bunch of other technology) was created in
the first place.
Aleix
More information about the kubuntu-devel
mailing list