I was tinkering with SELinux, installed the reference profile and after a reboot I was asked for the root password to mount usb drives, refresh the repos (through apper), suspend the system and to shutdown and reboot it. I manage to get most things back to normal by copying the polkit configuration files in the liveusb image (the ones in /usr/share/polkit-1/ and /var/lib/polkit-1). However it wasn’t enough since I’m still asked for the password when I try to reboot or shutdown the system. I can open konsole and type:
$ systemctl poweroff
$ systemctl reboot
and I’m not asked for it. But when I go to kickoff and select either one I do get asked for it (kdm is configured to use the commands above). Is there a file anywhere else I should modify?