Gentoo / ArchLinux – NetworkManager and policykit

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

Leave a Reply

Your email address will not be published. Required fields are marked *