1
如何在14.04中从lightdm禁用关机/重启?
在12.04中,可以通过在/etc/polkit-1/localauthority/50-local.d(从此处改编)中添加以下限制来防止系统从登录屏幕关闭或重新启动: [Disable lightdm PowerMgmt] Identity=unix-user:lightdm Action=org.freedesktop.consolekit.system.restart;org.freedesktop.consolekit.system.stop ResultAny=no ResultInactive=no ResultActive=no 对于14.04,此规则似乎不再起作用。有什么建议如何实施限制?