how can I allow standard users to connect to wireless network without administrator password? It's simple question. I need any positive answer.
3 Answers
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
-
1
-
2
-
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
(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:
-
1Is 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.– MarkoMay 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. Oct 17, 2017 at 13:58
To expound on Takkat's answer, to give a standard user permission to connect to any wireless network (even as yet unknown ones):
- Install gnome-system-tools, e.g.
sudo apt-get install gnome-system-tools
- Launch the program "Users and Groups".
- Select the user, click "Advanced Settings" then the "User Privleges" tab.
- Check "Connect to wireless and ethernet networks", then click save.
-
That is not sufficient to e.g. create a new Wifi connection as Guest on 16.04. Oct 17, 2017 at 13:49
-
The question didn't ask about Guest users, but standard users, and it works for standard users– RumblesAug 9, 2018 at 15:22
Available to all users
at the bottom of the wireless network configuration window in the Network-Manager GUI?