lpereira / hardinfo

System profiler and benchmark tool for Linux systems
http://hardinfo.org
GNU General Public License v2.0
771 stars 130 forks source link

Security: Prompt to elevate privileges to get resource information with pkexec #669

Closed hamishmb closed 2 years ago

hamishmb commented 2 years ago

Relates to previous discussion at: https://github.com/lpereira/hardinfo/issues/658, but still aught to be an issue on its own.

Rather than running as root, it would be better for security to elevate privileges only when needed, rather than running the whole GUI as root. Running GUIs as root is also disabled by default with Xorg on some systems, and is entirely unsupported on Wayland.

hamishmb commented 2 years ago

Duplicate of #589