Gentoo / ArchLinux - NetworkManager and policykit

Posted on Thu 26 January 2012 in Linux • 1 min read

If you want to use the NM (especially the nm-applet) in Gentoo or ArchLinux, you have to grant the user to access the NM. Therefor you create the following file

# cat /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla 
[nm-applet]
Identity=unix-group:plugdev
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=no
ResultActive=yes

Thats necessary because polkit-auth was removed from the policykit package. Also you must add the user to plugdev group

# usermod -a -G plugdev $USERNAME