[Pkg-utopia-maintainers] Bug#642136: Bug#642136: Bug#642136: network-manager: Connecting to a wifi network requires org.freedesktop.NM.settings.modify.system privileges

Michael Biebl biebl at debian.org
Tue Sep 20 08:21:06 UTC 2011


Am 20.09.2011 09:56, schrieb Vincent Bernat:
> On Tue, 20 Sep 2011 09:38:00 +0200, Michael Biebl wrote:
>> Am 20.09.2011 07:42, schrieb Vincent Bernat:
> 
>>>> As connections are now all stored in 
>>>> /etc/NetworkManager/system-connections/ ,
>>>> could you attach the corresponding keyfile (make sure it doesn't 
>>>> contain any
>>>> confidential data)
>>>
>>> As the connection does not exist, there is no keyfile for it.
>>
>> Now you have me confused. How can you activate a connection which
>> does not exist?
> 
> This is a wireless network I never connected to. I choose it from the 
> available wireless network detected by Network Manager. Through polkit 
> helper, Network Manager is asking me for administrative rights just to 
> connect to this new wireless network.

Ok, I guess it is clearer now what your issue is.
With NM 0.9, the user settings service is gone, i.e. connections are no longer
stored in the user session but always system wide (using the keyfile in
/etc/NetworkManager/system-connections).
Wireless connections are shared by default (ie. the setting "Available to all
users" is selected).
Writing a system setting and making it available to everyone requires
administrative privileges. That's why you get the PolicyKit prompt.

If you create a Wireless connection manually via nm-connection-editor:
Run nm-connection-editor
select tab "Wireless"
Click "Add"
Fill in SSID and Security settings.
*Uncheck* "Available to all users".
Then you shouldn't get a PK prompt, right?

Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20110920/f65a5f38/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list