I want to control Network manager from the command-line. This worked well enough in Ubuntu 10.04 (with cnetworkmanager, nmcli is another possible choice).
Since the upgrade to Ubuntu 10.10 however, a D-Bus exception is raised when I attempt to activate a connection from within a SSH terminal:
org.freedesktop.NetworkManager.PermissionDenied: Not authorized to control networking.
It may have to do with /etc/dbus-1/system.d/NetworkManager.conf; where else to look for a clue ?