Add user can access network interfaces
sudo gpasswd -a yourusername netdevnetdev : Group have permission to network, you can check other group with this command below
cat /etc/groupOr edit /etc/sudoers with your favorite editor like vim. Add this line under # User privilege specification:
yourusername ALL=(root) NOPASSWD :/sbin/ifconfig *Last updated
Was this helpful?