14

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

Marko
  • 762
  • 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? – adempewolff May 24 '12 at 08:51

3 Answers3

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
PSA
  • 99
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

Takkat
  • 142,284
  • 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 '12 at 08: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 '17 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.
Cerin
  • 6,485