Monday, November 18, 2013

Activate/Deactivate wifi on openSUSE asks for administrator password

I was very annoyed by the behavior of Network Manager in openSUSE 12. Every time I want to enable/disable the wifi and want to automatically connect to my prefered wifi spot, the system asks for the administrator password...

This can be changed by editing the file /etc/polkit-default-privs.local and add :

org.freedesktop.NetworkManager.enable-disable-wifi            yes

then run the command :
# set_polkit_default_privs 

So now current logged user can enable or disable the wifi connection without the administrator password... Enjoy.

No comments:

Post a Comment