I think most of you know this tip already, but I like to mention it any way.
As you know most web hosting company have miss OS, windows, Unix, Linux etc.... For example, You are you working on Windows, and like to have a short break, so you hit ctl-alt-del to lock your console. What if you make a mistake of hitting ctl-alt-del on Linux console, your linux box will reboot by default. Every one make mistake, so your web hosting technician.
To protect your Linux box reboot by mistake by your web hosting technican , just modify one line in the file /etc/inittab to :
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/bin/echo "ctl-atl-del is disable"
So every time your web hosting technician hit ctl-alt-del by mistake there is an echo ctl-alt del is disable ...
Somthing else to consider is this. The dedicated hosting companies may hit ctrl alt delete to shut the server down properly instead of turning it off hard. I used to work at a dedicated server company, and when we would have to shut off a box we would have to do it that way because we did not have the root passwords. We would hit ctrl alt delete, and when we saw that it was ready to start up again we would pull the plug.
yes, in my opinion, keeping C+A+D enabled is more useful than disabling it. everyone should fear having to run fsck if the box was not shut down properly instead of a box rebooting real quick on an accidental ctrl+alt+del.
You are right. Depend on each system admin policty. For me, I don't like the server reboot mistakenly, or intensively by any one.
I only like who has root authorization, and who is authorized root sudo are able to reboot the server. To rescuse myself of forgetting root password, I add my own couple user accounts, which have full root sudo. It safe to login to my box as regular user account, whenever I execute commands, which require root right, there is a sudo command.
Again depend on each system admin.. Safe + unconveinience, or un-safe + conveinience.
sudo has nothing to do with CTRL+ALT+DEL. I use sudo for everything but its irrelavent to this conversation. Say your box locks up and you cant get into it, if you have someone press ctrl+alt+del, and it reboots, you'll be in the clear. if someone power cycles it, data loss could occur. In my opinion, risking a reboot far outweighs the idea of risking data loss.