On Lucid, it would seem the /etc/polkit-1/* folders are not used. Puting a power.conf file:
[Disable suspend] Identity=unix-user:* Action=org.freedesktop.devicekit.power.suspend ResultActive=no ResultAny=no [Disable hibernate] Identity=unix-user:* Action=org.freedesktop.devicekit.power.hibernate ResultActive=no ResultAny=no [Disable shutdown] Identity=unix-user:* Action=org.freedesktop.consolekit.system.stop ResultActive=no ResultAny=no In: - /etc/polkit-1/localauthority/50-local.d - /etc/polkit-1/localauthority.conf.d Does NOT affect the applied policy (cf. pkcheck and Gnome shutdown dialog) Modifying the /usr/share/polkit-1/actions/* files DOES lead to the expected results (cf. pkcheck and Gnome shutdown dialog) Am I: - missing something (like reloading a daemon somewhere) - or is this a bug; a sysadmin would expect his custom settings to be in /etc/polkit-1 and be honored (and not be erased by some package update) ? -- Do not show suspend/hiberate related UI if suspend is disabled in polkit https://bugs.launchpad.net/bugs/432598 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs