nmtui "Could not activate connection: Insufficient privileges."



Hi there,

I'm logged in over the network to a Debian machine, trying to run nmtui
as my user to connect to a wireless network.  Unfortunately, I get
errors regarding privileges.

Firstly nmtui told me "Could not activate connection: Not authorized to
control networking."  I added my user to the netdev group (and logged
out/logged in) but it didn't make a difference.

I created a file,
/etc/polkit-1/localauthority/50-local.d/90-nm-netdev.pkla, with this
content:

[Network Manager authorisation]
Identity=unix-group:netdev
Action=org.freedesktop.NetworkManager.*;org.freedesktop.NetworkManager.settings.modify.system
ResultAny=yes
ResultInactive=yes
ResultActive=yes

and the operation still fails but the error message changed to "Could
not activate connection: Insufficient privileges."

Running `nmcli general permission' as my user gives:

PERMISSION                                                        VALUE
org.freedesktop.NetworkManager.enable-disable-network             yes
org.freedesktop.NetworkManager.enable-disable-wifi                yes
org.freedesktop.NetworkManager.enable-disable-wwan                yes
org.freedesktop.NetworkManager.enable-disable-wimax               yes
org.freedesktop.NetworkManager.sleep-wake                         yes
org.freedesktop.NetworkManager.network-control                    yes
org.freedesktop.NetworkManager.wifi.share.protected               yes
org.freedesktop.NetworkManager.wifi.share.open                    yes
org.freedesktop.NetworkManager.settings.modify.system             no
org.freedesktop.NetworkManager.settings.modify.own                yes
org.freedesktop.NetworkManager.settings.modify.hostname           yes
org.freedesktop.NetworkManager.settings.modify.global-dns         yes
org.freedesktop.NetworkManager.reload                             yes
org.freedesktop.NetworkManager.checkpoint-rollback                yes
org.freedesktop.NetworkManager.enable-disable-statistics          yes
org.freedesktop.NetworkManager.enable-disable-connectivity-check  yes


Can anyone tell me what I have to do to authorise nmtui to make wifi
connections?

Thanks,

Bob

-- 
Bob Ham <rah settrans net>

for (;;) { ++pancakes; }

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]