On Mon, 11 Jun 2001, AB Ramos wrote:

> > The inittab trick will only prevent the user from accidentally doing
> > the three-finger-salute...
> 
> It's not a trick.  It's a feature(tm)!.  BTW, I'm curious as to how
> ctrl-alt-del is handled by other distros.  Is it also mapped to a
> command, or is it not handled at all?

it's a kernel function. 

in linux/kernel/sys.c, you can define whether you can reboot with
ctrl-alt-del.

most inittabs are patterned after Miquel van Smoorenburg's since he wrote
init. and the handler is basically the same. the default entry for that
being:

ca::ctrlaltdel:/sbin/shutdown -t5 -rf now

on debian it's been modified slightly to read:

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

of course, you could do some other fancy thing with this if you like.

___ eric pareja ([EMAIL PROTECTED]) ~-=[O]=-~ Here, have a clue. Get the picture.
\@/ PGP key at http://gra.ph/~xenos/xenos.pgp <|PLUG|> http://gra.ph
 v  "Even the smallest person can change the course of the future."
    - Lady Galadriel in J.R.R. Tolkien's "The Lord of the Rings"

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to