PolicyKit is somehow asking me for root password on startup every single time, to enable and control networks via Network Manager.
I tried this solution The Polkit authentication framework | Security and Hardening Guide | openSUSE Leap 15.6)
Basically editing a local policy kit file to add a custom rule to allow networkcontrol for user, and then executing policy kit again, but it doesn’t work. Every time I startup the system it asks for the password again. How can I solve this?
I couldnt find it in KDE settings or anywhere, there was an all users option but it was blocked out, couldnt even click it, I had to do what was discouraged, to directly edit the /etc/polkit-1/rules.d file with nano, searched for NetworkManager, found the network-control rule, and changed all the strings to “yes”. Supposedly this shouldnt be a solution since that file says Do not edit this file directly, but it solved it. Couldnt find another way to directly edit policy kit rules with a GUI. Actually Im no fan of NetworkManager, too complicated.
It is only a few clicks to reach the settings. And if you don’t want that everybody can use the connection, simply define the allowed users via the advanced button next to the red marked area in the screenshots.