I have a guest account which needs the admin password each time they want to connect to a new wifi endpoint. Ideally, this is not the case as I am not always there to enter it. Additionally, it seems like an everyday task to connect to wifi so I don't understand why this needs an admin's permission.

Is there a way to turn off the admin password requirement for wifi connections?

  • What is a login manager? I googled it, but I get results for a display manager instead. Jan 28, 2021 at 7:58
  • Yes. So the actual laptop with Ubuntu is being used by someone else at a different location. It is true they only have to set up wifi once, but they have to do it without me having access to that laptop. They do use the GUI. I haven't tried nmcli as, to be honest, I had no idea it existed. But is that even an option now, as there is no internet connection to the laptop at this moment? Jan 28, 2021 at 8:03
  • The default one was gdm3, so I installed lightdm and then reconfigured dpkg. Jan 28, 2021 at 8:31
  • 1
    @UnKNOWn thanks! I will have a look at that and let you know if it worked. Jan 28, 2021 at 9:55
  • 1
    @UnKNOWn Updating the policy has indeed solved the issue. Thank you very much! Would you mind making this an answer to the question? Then I can accept it. Jan 28, 2021 at 10:08

1 Answer 1


I have tried it in guest-session in the Question and successfully connected to new wifi connections scanned.

as a super user edit the file /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy

find the below part

  <action id="org.freedesktop.NetworkManager.settings.modify.system">
    <description>Modify network connections for all users</description>

Edit the line <allow_active>auth_admin_keep</allow_active> to <allow_active>yes</allow_active>

save the file and restart the gnome-shell with "Alt+F2 r Enter" Method.

enter image description here

credits: https://askubuntu.com/a/315900/739431

  • 1
    Nice workaround!
    – starkus
    Jan 28, 2021 at 10:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.