Thanks for the reply,
I've created /etc/polkit-1/localauthority
dir, copied /var/lib/polkit-1/localauthority/10-vendor.d
there (to have a reference) and created /etc/polkit-1/localauthority/50-local.d
, where I put two files: /etc/polkit-1/localauthority/50-local.d/org.freedesktop.hal.power-management.pkla
, containing the following:
It didn't help. Trying to reboot still gives this warning on the bottom of the menu: org.freedesktop.hal.power-management.reboot auth_admin_keep_always <-- (action, result)
. Trying to suspend or hibernate shows an authentication prompt for a second, then screensaver kicks in and locks the screen.
Same with removable media: no automount, mounting requires root, and now devices don't even show in thunar's sidebar (it used to draw them half-transparent, so you could click and mount them automatically).
I looked through the .pkla files and have not found any entries that have "auth_admin_keep_always" string. Neither is it present in /usr/share/polkit-1/action
policies, which makes me wonder if there are still some other config files overriding customized policies… according to pklocalauthority manual this shouldn't be the case.