Comment 6 for bug 1116317

Revision history for this message
Ritesh Khadgaray (khadgaray) wrote :

This allows a user to create user connection by default, if he/she does not have the admin(sudo) priviliges

-- testing

* Create the below policy file

root@x230:/var/lib/polkit-1/localauthority# cat 90-mandatory.d/nm.pkla
[Adding or changing system-wide NetworkManager connections]
Identity=unix-user:*
Action=org.freedesktop.NetworkManager.settings.modify.system
ResultActive=no

[Adding or changing user-owned NetworkManager connections]
Identity=unix-user:*
Action=org.freedesktop.NetworkManager.settings.modify.own
ResultActive=yes

* Try connecting to a secure network ( w/ password) . Connection would fail

** (nm-applet:24829): WARNING **: Failed to add/activate connection: (32) Insufficient privileges.

With the patched pkg, this would work fine..

These do not break any existing functionality, from what I could see.