The keyboard combination CTRL+ALT+DEL has been a long known shortcut on Linux systems to immediatley shutdown the server.

In most recent Linux distributions this has been disabled for obvious reasons.

 

I know myself I have accidentally shutdown a Linux server from standing at a the console on a KVM, pressed CTRL+ALT+DEL (thinking it was a windows server to get it out of power save and logon), the screen came on showing it was shutting down the server! A mistake not made twice.

 

Because the ESX COS is based on a customized version of Red Hat, this keyboard sequence still exists, and if pressed will shutdown your ESX server and all VMs running on it.

 

Until VMware disable this by default in a later release, I suggest you manually disable it for now to save this problem arising in the meantime.

Fortunatley its a simple process and can be done in seconds....

 

 

1. Login to your ESX server at the console or via SSH

 

2. Edit the following file:

vi /etc/inittab

 

3. Comment out the following line (pressing "i" starts editing mode in vi)

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

CHANGE TO

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

 

4. Save the file:

:wq! <enter>

 

5. To invoke the settings without reboot run:

init q

 

 

 

This will also work for any Linux servers you have that have (it will be similar if not the same!).

 

NOTE: Update ESX400-201002402-BG (Updates initscripts) released 03 March 2010 to resolve this in ESX http://kb.vmware.com/kb/1017459

 

 

Share this blog post on social media:

Social Links

Disclaimer

All advice, installation/configuration how to guides, troubleshooting and other information on this website are provided as-is with no warranty or guarantee. Whilst the information provided is correct to the best of my knowledge, I am not reponsible for any issues that may arise using this information, and you do so at your own risk. As always before performing anything; check, double check, test and always ensure you have a backup.

Copyright ©2008-2021 Andy Barnes - Please do not copy any content including images without prior consent!

Designed and Hosted by Andy Barnes

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.