Re: On running gui applications as root

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

 



2015-11-17 20:07 GMT+02:00 Reindl Harald <h.reindl@xxxxxxxxxxxxx>:
> depends on what the application is supposed to do and if you want a global
> setup instead only in the userhome for every user
>
> installing in your userhome has another disadvantage: you are running all
> day long a application writeable by your user and so there is a risk that
> another arbitary process modifies it
>
> installing the application as root is a one time risk but after that the
> binaries are protected against modifying

Sure, there are also installers which really require root privileges
to function at all.

The writability of installed files by your normal user is easy to
address by e.g. this:
- make directory /opt/foo owned by alice
- have alice run the installer of foo, installing to /opt/foo
- chown -R root:root /opt/foo
- adjust system-wide default PATH to include /opt/foo/bin

Of course if you trust the installer to be well written and benign,
you might just as well not bother. But this is a fairly easy option.

- Joonas
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux