Description of problem: in the version of gdm shipping with rawhide, disabling the shutdown/reset/etc buttons through the /apps/gdm/simple-greeter/disable_restart_buttons does not prevent gnome from shutting down the system Actual results: The buttons properly disappear from the gdm menu, but once a user logs in, they can still shutdown the system Expected results: Gnome should be barred from disabling shutdown. Notes: This is offers a potential avenue to DoS a system.
Whoops: Expected results: Gnome should be barred from shutting down the system.
Hi, I believe shutdown is managed by policy kit. if you install PolicyKit-gnome and run /usr/bin/polkit-gnome-authorization and set Active Console to "no" for "Restart the system" and "Stop the system" in the consolekit policy, does it work?
Hmm, I see that you are right, though its a bit quirky. 1. The shutdown option doesn't disappear from the system menu once all shutdown-like options are disallowed (hal.hibernate..reboot..etc and consolekit.stop..reset). This means that there is no longer any way to remove this menu item from the gnome panel. (annoyance, really) 2. if you attempt to shut down you are given an error. If you do it again, you are given the same error 2 times,...etc (totally doesn't matter)
ah yes, we already have a bug for that. *** This bug has been marked as a duplicate of 444552 ***