Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 445723 - gnome shutoff issues
Summary: gnome shutoff issues
Keywords:
Status: CLOSED DUPLICATE of bug 444552
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: jmccann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-08 19:04 UTC by Josh Lange
Modified: 2015-01-14 23:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-09 00:25:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Josh Lange 2008-05-08 19:04:46 UTC
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.

Comment 1 Josh Lange 2008-05-08 19:06:45 UTC
Whoops:

Expected results:
Gnome should be barred from shutting down the system.

Comment 2 Ray Strode [halfline] 2008-05-08 19:26:31 UTC
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?

Comment 3 Josh Lange 2008-05-08 20:58:04 UTC
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)

Comment 4 Ray Strode [halfline] 2008-05-09 00:25:35 UTC
ah yes, we already have a bug for that.

*** This bug has been marked as a duplicate of 444552 ***


Note You need to log in before you can comment on or make changes to this bug.