Suppose that internet
is a group I have created. Is it dangerous to run e.g. Firefox via sudo -g internet firefox
? I am 99% sure it's not, but wanted to make sure since I am doing that often and I read that running GUIs as root (via sudo
) is dangerous (I assume since someone exploiting a weakness in the GUI could use root rights on my PC if I am running the GUI as root).
internet
(I am using iptables to only allow apps run asinternet
to access the network).sudo -g internet firefox
as a non-root user (the user can use sudo in this case due to permission via /etc/sudoers. And thank you for your quick answers! :)