[Bug 1116317] [NEW] Needs option to create user connections by default

Launchpad Bug Tracker 1116317 at bugs.launchpad.net
Fri Mar 22 13:52:51 UTC 2013


You have been subscribed to a public bug by Ritesh Khadgaray (khadgaray):

NetworkManager needs a setting that makes it create new connections as
user connections by default.

org.freedesktop.NetworkManager.settings.modify.system can be used to
allow access, however, you don't always want to have users edit system
connections.

[Impact]
Before 12.04, new connections in NetworkManager were user-connections. Organisations could use this to lock down certain connections to system connections.

Today, non-admin users are shown a "Please enter root password" prompt
when trying to connect to an unknown (wireless) network. Which is
undesirable as these users may not know the root password.

A workaround is to grant the users
'org.freedesktop.NetworkManager.settings.modify.system' access, however
this may be desirable as corporate networks may be defined in system-
connections that adminstators may not want users to change.

[Test Case]

 * Today: Connect to a new wireless network as a non-admin user, see
that a password dialog is displayed.

 * With patch, set a PolicyKit rule of:

"""
[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
"""

...connect to a new wireless network as a non-admin user and see in
/etc/NetworkManager/system-connections that a user-connection instead of
system one has been defined, no root password should be requested
either.

[Regression Potential]
None, as we do not touch the default configuration for 12.04 LTS.

** Affects: network-manager
     Importance: Medium
         Status: Confirmed

** Affects: network-manager-applet (Ubuntu)
     Importance: Wishlist
     Assignee: Mathieu Trudel-Lapierre (mathieu-tl)
         Status: In Progress

** Affects: network-manager-applet (Ubuntu Precise)
     Importance: Wishlist
     Assignee: Mathieu Trudel-Lapierre (mathieu-tl)
         Status: Triaged

** Affects: network-manager-applet (Ubuntu Quantal)
     Importance: Wishlist
     Assignee: Mathieu Trudel-Lapierre (mathieu-tl)
         Status: Triaged

** Affects: network-manager-applet (Ubuntu Raring)
     Importance: Wishlist
     Assignee: Mathieu Trudel-Lapierre (mathieu-tl)
         Status: In Progress


** Tags: nma-sru-03
-- 
Needs option to create user connections by default
https://bugs.launchpad.net/bugs/1116317
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list