[LightDM] disable and remove shutdown/restart/suspend/hibernate/ button on login screen
Rex Dieter
rdieter at math.unl.edu
Fri Nov 13 09:53:53 PST 2015
xm xm wrote:
> Hello everyone,
>
> I have CentOS 7+lightdm+xfce installed.
> I don't want any user( except root) to be able to
> hibernate/suspend/reboot/shutdown from the login screen. I would like to
> remove and disable those buttons.
>
> Could anyone help me?
See /usr/share/polkit-1/rules.d/lightdm.rules
you'll want to implement a local policy (under /etc/polkit-1/rules.d/ ) that
overrides that.
-- Rex
More information about the LightDM
mailing list