Hi Michael. Thank you, thank you.
Doug
Sleepy Cat Hosting
http://sleepycathosting.com
-----Original Message-----
From: Michael Stauber [mailto:bq (at mark) solarspeed.net]
Sent: Monday, April 14, 2008 10:45 AM
To: coba-e (at mark) bluequartz.org
Subject: [coba-e:12565] Re: CTRL - ALT - DEL
Hi Doug,
> When I switched the kvm over from a windows machine to one of the Linux
> machines, I inadvertently hit CRTL-ALT-DEL (spastic fingers) and it
started
> the reboot process.
>
> Is there a way to disable a reboot unless you are logged in?
The action taken for CTRL-ALT-DEL is defined in /etc/inittab and if you
check
that file out you will see a line like this:
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
If you want to disable this action just change that line. Either comment it
out or replace it with something like this:
ca:12345:ctrlaltdel:/bin/echo "CTRL-ALT-DEL is disabled"
After making any changes to the inittab file you will have to tell init to
reload it in order to activate the changes. To do that, simply run as root:
init q
--
With best regards,
Michael Stauber