* Mike Dresser <[EMAIL PROTECTED]>, 2002-09-06 18:07 -0400:
> On Fri, 6 Sep 2002, Jaye Inabnit ke6sls wrote:
> 
> > I guess I could chown /sbin/shutdown, but that doesn't seem like the best 
> > way
> > to do this.
> 
> Are they a local user?
> 
> If so, try this in your /etc/inittab
> 
> # What to do when CTRL-ALT-DEL is pressed.
> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
                                            ^^
                                            -h
                                            halt, not reboot
                                            
And it only works for users that know how to switch to the consoles.
gdm, my graphical login manager, has an option to show a menu that
contains shutdown, reboot, and suspend (due to APM usage).

-Andre

Attachment: pgpQHg05mEbcB.pgp
Description: PGP signature

Reply via email to