Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #163031

Re: Debian 8: Shutdown, Reboot, Suspend und Hibernate only after entering root password

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: Debian 8: Shutdown, Reboot, Suspend und Hibernate only after entering root password
Date 2016-01-14 16:50 +0100
Message-ID <qQSjV-Dz-33@gated-at.bofh.it> (permalink)
References <qQRQT-rb-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Debian 8: Shutdown, Reboot, Suspend und Hibernate only after  entering root password "Christoph Pleger" <Christoph.Pleger@cs.tu-dortmund.de> - 2016-01-14 16:20 +0100
  Re: Debian 8: Shutdown, Reboot, Suspend und Hibernate only after  entering root password Floris <jkfloris@dds.nl> - 2016-01-14 16:50 +0100
  Re: Debian 8: Shutdown, Reboot, Suspend und Hibernate only after  entering root password Brian <ad44@cityscape.co.uk> - 2016-01-14 16:50 +0100
    Re: Debian 8: Shutdown, Reboot, Suspend und Hibernate only after entering root password deloptes <deloptes@yahoo.com> - 2016-01-14 20:50 +0100

csiph-web