Removing polkit password requests after KDE-Plasma login

If after installing FreeBSD and KDE-Plasma you are greeted with a password request every time you log in to KDE Plasma this may help

First add your user to the 'operator' group To do this you will need root priviliages (or doas/sudo)

 pw groupmod operator -M username 

Then once added create the following file location (again as root/doas/sudo)

 touch /usr/local/etc/polkit-1/rules.d/40-wheel-group.rules 

once created edit the file (again as root)

 ee /usr/local/etc/polkit-1/rules.d/40-wheel-group.rules 

and make it look like this

polkit.addRule(function(action, subject) {
    if (subject.isInGroup("operator")) {
        return polkit.Result.YES;
    }
});

Save and reboot, on next login there should hopfully be no polkit password requests

Hope this helps