System shutdown from GDM

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Derek Neighbors
Date:  
Subject: System shutdown from GDM
Mike Starke said:
> On Wed, Nov 05, 2003 at 10:31:15AM -0700, Liberty Young wrote:
> /_I'm using GDM (debian stable, gnome2.2 woody-backports), and for
> while, /_i was able to shutdown the system from the login screen just by
> clicking /_on *shutdown
> /_
> /_After a recent set of updates, i now have to type in the root
> password. /_I see the wisdom in making the default behaviour like this;
> however, /_from my laptop, it isn't cool. I sometimes let my girlfriend
> or friends /_borrow my laptop, and I am no longer able to ask them to
> shutdown the /_computer for me without giving them my root password!
> /_
> /_Any ideas? I'm checking google and my config files, but I can't seem
> to /_figure out which file to edit, and which option to set.


I think you could make it so that CTRL-ALT-DEL shuts down the computer.
Thus circumventing GDM.

In /etc/inittab:

Change:

From
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

to
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now

Change the -r(eboot) to a -h(alt)

-Derek