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.


** Patch added: "proposed patch for raring"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/1116317/+attachment/3643271/+files/user.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1116317

Title:
  [ffe] allow option to create user connections by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/1116317/+subscriptions

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

Reply via email to