How to Disable Ctrl+Alt+Delete Key Combination for Reboot in Ubuntu

Prevent Server from Accidental Reboot

The physical access to the keyboard can simply use the Ctrl+Alt+Delete key combination to reboot the server without having to log on. Of course, someone could simply unplug the power source, but you should still prevent the use of this key combination on a production server. This forces an attacker to take more drastic measures to reboot the server, and will prevent accidental reboots at the same time
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
#exec /sbin/shutdown -r now "Control-Alt-Delete pressed"
The above command will prevent your server from accidental Rebooting


Related Topic A to Z Linux Commands quick reference sheet
The List of Windows XP Basic Shortcut Keys
The List of Basic Windows 7 Keyboard Shortcut Keys
How to Disable Ubuntu Login Screen User List
Logout Shortcut Linux Ubuntu

nScraps.com 2011   Privacy Policy  Terms of Service  Feedback