On 2020-08-21 10:35, Samuel Sieb wrote:
On 8/20/20 7:04 PM, ToddAndMargo via users wrote:
On 2020-08-19 19:58, Samuel Sieb wrote:
On 8/19/20 3:24 PM, ToddAndMargo via users wrote:
You would not happen to know if there is a command like ifconfig eno2 down that does not require root privileges?
Haven't we already done this one not long ago? Use "nmcli". nmcli d disconnect eno2
That was the c command previously.
Yes, but I was referring to the general use of "nmcli" instead of the various other root-required tools.
Are all nmcli command able to run as a user?
I think so, although I don't know if being in the "wheel" group makes a difference.
We went through that a while back as well. It is determined by polkit. Wheel is not needed. The type terminal session does matter though.
I think almost all commands don't need root. Sadly, I can't recall the command to interrogate polkit rules.