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

Re: package managers problem



On Tue, Jun 20, 2023 at 04:56:39PM -0400, paulf@quillandmouse.com wrote:
> Apparently the broader dictum is "never run GUI apps as root". Why?
> What's special about GUI apps versus those you run in a terminal?

The extreme example is a web browser.  Your typical web browser probably
has thousands of bugs in it.

GUI apps are big and complicated.  Running them with elevated privileges
is just asking for problems.

In a sensible design, the GUI part would run as you, and it would send
requests to a daemon that runs as root, or simply issue shell commands
with "sudo" or something, to do the parts that need extra privs.


Reply to: