Any user that has physical access to the keyboard can simply use the Ctrl+Alt+Delete key combination to reboot the server without having to log on. Sure, 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.
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
Howto Disable CTRL-ALT-DEL in Ubuntu 8.04 (Hardy Heron) Server
Related Posts:
Howto Enable and Disable Ubuntu Root PasswordUbuntu is one of the few Linux distributions out there that will not enable the root account.If you want to do something with root permission on the c… Read More
Howto install Google Earth and Fix ugly fonts problem in Ubuntu 11.04 NattyAfter installed Ubuntu 11.04 Natty Narwhal, one thing you might want is to install Google Earth. Follow is how to install Google Earth 6 from google o… Read More
Howto Disable 60 seconds delay notification in ubuntu9.10(karmic)This tutorial shows how to disable 60 seconds delay notification when logout,shutdown and restart ubuntu9.10. First,press Alt+F2 and type gconf-edito… Read More
install Windows 7 from Ubuntu without burnning a discIf you’re running on ubuntu and want to install Windows 7 without burning a disc,you can try following steps to install Windows 7 with the iso file. … Read More
Install wammu : Mobile phone Manager for Ubuntu / Debian Linuxknow everybody is looking for a mobile phone manager for Linux. text based gammu is there, but it is not user friendly . wammu is a graphical front en… Read More
0 comments:
Post a Comment