If you're new here, you may want to subscribe to my RSS feed and if you have questions related to your ubuntu system post question to our forums. Thanks for visiting!
If you want to disable CTFL-ALT-DEL from shutting down your server use the following procedure.
To disable the reboot action taken by pressing the Ctrl+Alt+Delete key combination, comment out the following line in the file /etc/event.d/control-alt-delete.
sudo vi /etc/event.d/control-alt-delete
Change the following line
exec /sbin/shutdown -r now “Control-Alt-Delete pressed”
to
#exec /sbin/shutdown -r now “Control-Alt-Delete pressed”
Save and exit the file




What about Alt-SysRq-B?
Thanks!
to prevent the use of sysrq add this to your /etc/sysctl.conf:
kernel.sysrq = 0
if you don’t want to reboot you can just do a sysctl -p as root to get the changes effective
wtf? Does control-alt-delete reboot a computer? I thought it only killed the X server.
I think Ctrl + alt + backspace kills the x server.
y would anyone with physical access to the computer use ctrl alt del,it is much easier to use the mouse,rite?anyway of blocking that?
doesn’t work for me
I have Hardy installed and followed your steps excactly…. tested directly and also after reboot: Control-Alt-Delete still works
any other way to get rid of that? and also Control-Alt-Backspace??
THX
Use the System/ Preferences/ Keyboard Shortcuts/
menupoint from the menu for redefine those Shortcuts