ayufan-pine64 / linux-build

Pine64 Linux build scripts, tools and instructions (based on Longsleep work)
MIT License
154 stars 36 forks source link

Enable NetworkManager/wifi access to normal users(non sudo) #84

Open desaiamogh opened 5 years ago

desaiamogh commented 5 years ago

Enable /etc/NetworkManager/NetworkManager.conf managed=true

and

/var/lib/polkit-1/10-vendor.d/org.freedesktop.NetworkManager.pkla

set to

[Adding or changing system-wide NetworkManager connections]
Identity=unix-group:netdev;unix-group:sudo
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=no
ResultActive=yes

this allows network-manager to be accessible to normal users to enable disable and connect to wifi.

install gui network-manager-gnome /usr/local/sbin/install_desktop.sh