[Pkg-utopia-maintainers] Bug#672138: Bug#672138: prompts for root password on each new wifi network

Michael Biebl biebl at debian.org
Tue May 8 20:33:34 UTC 2012


Am 08.05.2012 21:52, schrieb Joey Hess:
> Package: network-manager-gnome
> Version: 0.9.4.1-1
> Severity: normal
> 
> Now nm wants the root password to be entered to ensure the user is allowed
> to change the global system networking when connecting to a new wifi
> network. Perhaps there are actual multiuser systems where this makes
> sense, but on the typical laptop it means I have to train the user in a
> second password.
> 
> This is really bad if using sudo. d-i can set up a system with sudo and
> no root password (and with gksu configured to use sudo). nm still
> prompts for a root password on such a system, which is impossible. I
> have filed a separate bug on policykit about this problem.
> 
> FWIW, I am using xfce. I have not used gnome recently so don't know if
> it somehow avoids this problem. I have xfce configured to run the gnome
> password manager and other services, and I find lots of results
> searching the web for "network manager root password", so my suspicion is
> it does affect gnome. I have confirmed this behavior on two laptops,
> one freshly installed.
> 
> The only GUI workaround I can find is to edit the connection, and
> uncheck "Available to all users"[1]. But, this can only be done to
> existing connections. So logging into a new wifi network without the
> root password requires a very clumsy process of manually adding a
> connection for it.


This is basically a duplicate of
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642136

> I found another workaround here: https://wiki.archlinux.org/index.php/NetworkManager
> Make /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla
> containing:
> 
> [nm-applet]
> Identity=unix-group:netdev
> Action=org.freedesktop.NetworkManager.*
> ResultAny=yes
> ResultInactive=no
> ResultActive=yes
> 
> Now all users in netdev (like default desktop user) are not asked for
> the password.
> 

See my comment at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642136#97

Cheers,
Michael


-------------- 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/20120508/b901a2d1/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list