14

how can I allow standard users to connect to wireless network without administrator password? It's simple question. I need any positive answer.

1
  • 1
    Do you need standard users to be able to configure new wireless networks or just access existing ones? If it's the latter have you tried checking Available to all users at the bottom of the wireless network configuration window in the Network-Manager GUI? May 24, 2012 at 8:51

3 Answers 3

9

To allow change of wifi-connection without admin password create new file

sudo nano /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla

with the following content:

[Enable NetworkManager]
Identity=unix-group:netdev
Action=org.freedesktop.NetworkManager.*
ResultAny=no
ResultInactive=no
ResultActive=yes
3
  • 1
    Yeap.This worked for Ubuntu 18.04
    – f0nzie
    May 20, 2019 at 14:45
  • 2
    you need to replace netdev with the actual group of the user. Jun 14, 2020 at 19:12
  • Another point for your code.
    – ieselisra
    Apr 14, 2021 at 18:56
5

To make a wireless network available to all users we need to make shure that all users have the privilege to "Connect to wireless and ethernet networks". You can set this from Users and Groups from the package gnome-system-tools Install gnome-system-tools

(see also this question).

To make a wireless network available to all users we also need to tick the box "Available to all users" on the bottom left side of Edit connections -> Wireless -> Edit:

enter image description here

2
  • 1
    Is there any way to allow them connecting to wireless network that i hadn't created in list of network connections.For example if my standard user finds himself in area where he can connect to network that is new for my laptop.
    – Marko
    May 28, 2012 at 8:51
  • On my installation I had to also add the users to the netdev group. Without creating a networking connection succeeded but establishing failed.
    – abergmeier
    Oct 17, 2017 at 13:58
3

To expound on Takkat's answer, to give a standard user permission to connect to any wireless network (even as yet unknown ones):

  1. Install gnome-system-tools, e.g. sudo apt-get install gnome-system-tools
  2. Launch the program "Users and Groups".
  3. Select the user, click "Advanced Settings" then the "User Privleges" tab.
  4. Check "Connect to wireless and ethernet networks", then click save.
2
  • That is not sufficient to e.g. create a new Wifi connection as Guest on 16.04.
    – abergmeier
    Oct 17, 2017 at 13:49
  • The question didn't ask about Guest users, but standard users, and it works for standard users
    – Rumbles
    Aug 9, 2018 at 15:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .