On Thu 14 Jan 2016 at 16:10:03 +0100, Christoph Pleger wrote: > Some days ago, I installed some machines with Debian jessie. Now I want to > achieve that, from the different desktop environments (KDE, GNOME, etc.), > the computers can only be shutdown, rebooted, suspended or hibernated, > after entering the root password. > > In Debian 7, I achieved that by creating a file > /etc/polkit-1/localauthority/50-local.d/custom-menu.pkla with the > following contents:
[Snip] > In Debian 8, this does not have the desired effect any more. Obviously, > the names of the actions have been changed to > org.freedesktop.login1.reboot etc., but even after replacing the action > names in custom-menu.pkla accordingly, no root authentication is required > before shutting down the computers. > > So, what is the correct way to achieve my goal in jessie? We had something similar just recently. You probably need to adjust your Action line. https://lists.debian.org/debian-user/2016/01/msg00174.html Any use?