Questions about disabling {CTRL-ALT-DEL}

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Thu Jun 25 04:52:19 UTC 2009


  Thanks to using Windows at work, "force of habit" makes me
occasionally try to "logon" with {CTRL-ALT-DEL}, which is not a good
idea in linux.  I intend to change the /etc/inittab entry...

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now

...to...

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/usr/bin/chvt 1

  This will transfer me to text console tty 1 instead of rebooting.
There is a reason for that.  I was thinking of using the "Magic SysReq
Key" option to as the replacement to force a sync/unmount/reboot, if I
really need it.  The "Magic SysReq Key" gets intercepted in X.
Transferring to text console 1 gets around that problem.

  Are there any other booby-traps I should be aware of?  Does the change
take effect immediately or do I have to reboot?  Are there any other
side-effects?

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list