Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 ?

share|improve this question
    
If you aren't ssh'd in do you get the same issue? What user account are you running the command as? –  dunxd Dec 2 '10 at 10:25
    
In a gnome session I don't get the same issue -- with the same (admin) user account. –  epsicot Dec 4 '10 at 12:43

1 Answer 1

Why you dont use cd /etc/network/

In there you can manage networks and in /etc/resolv.conf

You need root permition

share|improve this answer
    
Because I want to activate connections from a normal user's point of view: user is connected to the internet on machine A, which is linked to machine B with an ethernet cable. Sometimes A shares its internet connection via Ethernet, then the user who logged into B using ssh wants to activate a different connection than the link-local one -- maybe it's not the right place to ask –  epsicot Dec 3 '10 at 17:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.