lpereira / hardinfo

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

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

Closed hamishmb closed 1 year ago

hamishmb commented 1 year 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 1 year ago

Duplicate of #589