Wednesday, March 29, 2006

Disable Ctrl-Alt-Del on Linux


A few months back I remember my buddy pressing Ctrl-Alt-Del to unlock a Windows XP server. Problem was that he was using the keyboard of an adjacent Linux mail server...As many of you might know pressing Ctrl-Alt-Del on Linux causes the system to reboot. However one may disable this possibility of using the Ctrl-Alt-Delete command tor reboot your Linux machine. This is pretty important if you don't have the best physical security on the box.

To do this, edit the inittab file vi /etc/inittab and change the line:

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

To read:
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now

Now, for the change to take effect type in the following at a prompt:
[root@hax0r] /#/sbin/init q
Post a Comment