Post History
Is there a way to make nmcli run without sudo over SSH? nmcli works without sudo on my machines. But when I SSH into them, it starts giving "insufficient privileges" errors. Very annoying when try...
#1: Initial revision
nmcli asking for sudo when on SSH
Is there a way to make `nmcli` run without sudo over SSH? `nmcli` works without sudo on my machines. But when I SSH into them, it starts giving "insufficient privileges" errors. Very annoying when trying to remotely manage my wireguard connections remotely. Probably my fault for using network manager in the first place, but I haven't found anything better. The privileges are denied by polkit on the basis of the session type. Over SSH it's `remote` and nmcli requires sudo. Locally, it's `X11` and no sudo is required.
