Questions about disabling {CTRL-ALT-DEL}
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Jun 25 14:48:26 UTC 2009
On Thu, Jun 25, 2009 at 12:52:19AM -0400, Walter Dnes wrote:
> 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?
Just need to do 'telinit q' to reload inittab.
Nothing else. I have changed that before as well, usually to something
that echoes a message.
--
Len Sorensen
--
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