Sorry, I must have been confused about 10.04, however the problem still 
remains, that either from cron, or a remote session such as ssh or telnet, the 
command returns (and only this - unless there is someway to increase verbosity):
$ nmcli -p con up id hideipvpn
Error: Connection activation failed: Not authorized to control networking.

The connection is NOT marked a "available to all users".

However in a terminal window on the desktop itself, the command works.
When run locally in a desktop terminal :

$ nmcli -p con up id VPN
Active connection state: activating
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/44
state: VPN connecting (3)
state: VPN connecting (getting IP configuration) (4)
Connection activated

-- 
nmcli reports :Not authorized to control networking. when run from cron
https://bugs.launchpad.net/bugs/681708
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to