Johan H on Tue, 1 Aug 2000 16:46:36 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re:GLUG: rh62 ctrl-alt-del


8/1/00 4:48:37 PM


Please define opening a terminal?

change the line in /etc/inittab

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

to 

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/usr/local/bin/myrebootscript

make myrebootscript check if a terminal is open and behave acordingly.

My advise? Disable it completely by hashing the line out. This is a disaster waiting
to happen.

Run "init q" to reload init defaults after changing the file.

Regards
JOhan

On 8/1/00 4:23:59 PM, Daniel Melo has written:
>How can I disable the ctrl-alt-del reboot-key sequence, used for a 'shutdown
>-r' upon opening a terminal ( ctrl-alt-f(x) ).(RH6.2)
>I've noticed this feature on RedHat 6.x
>
>Thanks in advance,
>
>Dan
>---
>To unsubscribe from this list: send the line "unsubscribe glug" in
>the body of a message to majordomo@xxxxxxxxxxxxx If you have a
>problem unsubscribing, please mail owner-glug@xxxxxxxxxxxx