Dangerous default on ESX 4
My colleague (thanks Kevin), just alerted me to a default setting on ESX 4, which I think is potentially dangerous these days. If you hit Ctrl-Alt-Del on an ESX 4 console, it will reboot the server even if there are running VMs and it doesn’t care if the server is not in Maintenance Mode.
This is an old throwback which most modern Linux distribution disable these days. To disable this yourself, open up /etc/inittab in your favourite editor and comment out the “ca::ctrlaltdel:/sbin/shutdown -t3 -r now” line with a # symbol so it looks like this:
# Trap CTRL-ALT-DELETE
# ca::ctrlaltdel:/sbin/shutdown -t3 -r now
Save and exit the file. For this to take effect without a reboot, then run:
init q
This certainly disabled by default on ESX 3.5 hosts, so I assume that this was an oversight on VMware’s part on the new release. I have checked the latest patches and there is no mention of this.
UPDATE:
Frank Wegner from VMware has raised this as a bug report with VMware engineering.
UPDATE 2 (4 March 2010):
VMware have just released a patch for ESX 4 hosts to rectify this: http://kb.vmware.com/kb/1017459
10 Responses to Dangerous default on ESX 4
Leave a Reply Cancel reply
Forbes Guthrie
Recent Posts
- vSphere 5 vReference Card released
- Cisco UCS boot from iSCSI SAN – ESXi design consideration
- vSphere 5 vReference card – Storage section
- Does 2008 R2 Failover Clustering require a change to the Notify Switches policy?
- vSphere 5 vReference card – Host section
- vSphere 5 vReference card – Install section
- Auto Deploy design concern
- vSphere 5 vReference card – vCenter section
- vSphere 5 vReference card – VM section
- vSphere 5 vReference card – availability section
Recent Comments
- free antivirus software download on Firewall port connection diagram
- Tim Sommer on vSphere 5 Card
- vJohnnyF on vSphere 5 Card
- Forbes Guthrie on Cisco UCS boot from iSCSI SAN – ESXi design consideration
- Chris on Cisco UCS boot from iSCSI SAN – ESXi design consideration
- Forbes Guthrie on vSphere 5 Card
- Forbes Guthrie on vSphere 5 Card
- harold on Auto Deploy design concern
- MarcelVanOs on vSphere 5 Card
- Forbes Guthrie on VMworld 2012 dates and location
Twitter
- Eek! This is big >> RT @DuncanYB: New Article: No Jumbo frames on your Management Network - http://t.co/VjoCtOqz : 2 weeks ago
- RT @ryanbirk: @forbesguthrie ...owe you a beer! Read all 50 pgs of your notes and passed the VCI-5 exam this morning << Congrats, great news : 2 weeks ago
- Working with Host Profiles today. Clunky, but a great tool. : 2 weeks ago
- @csilvertooth Frustrating yeah, they maybe need a popup warning message check when you start it without correct permissions. #VMware : 2 weeks ago
- RT @joshcoen: Passed VCP5 this morning. Big shout out to @jaslanger and @forbesguthrie #invaluableresources. << Congrats! : 2 weeks ago
- RT @cwjking: @forbesguthrie Someone commented on my blog to link to your site for VCP5 related stuff. http://t.co/7KqZsNuv << thx : 2 weeks ago
- @sanchezhutz Nice, I hear lots of good things about those. David is nice chap. : 3 weeks ago
- .RT @cxi: I'll be in Vancouver the week of the 23rd ;) << Great. Anyone else in Vancouver up for vBeers? I'm free 23,25,27 /cc @astorrs : 3 weeks ago
- @sanchezhutz Best of luck Sanchez! When are you planning to take it mate, work paying for it? : 3 weeks ago
- New blog post: vSphere 5 vReference Card released - http://t.co/4rYEPsM9 : 3 weeks ago






Social comments and analytics for this post…
This post was mentioned on Twitter by PlanetV12n: Dangerous default on ESX 4 (vReference) http://bit.ly/3s7ZBF...
haha
Sorry, this is quite funny, and a little sad!
I experienced this on ESX 3.5 U4 servers too! Thanks for pointing out how to disable it … now doing this on our servers!
This is actually a good practice in any shop with both Windows and Linux hosts. Windows IT people will press to login to a system. With screens blank and/or KVMs in use to save space, you may not be talking to the host you think you are talking to.
Exactly!
You would think this would be corrected in Update 1. Alas, I think VMware truly see it as a feature instead of a bug (where have I heard that before
).
I tried to find the values mentioned in the /etc/inittab but they’re not there. Is it correct that this does not apply to ESXi 4?
Yes you’re right, this only applies to ESX hosts not ESXi. Its a “feature” of the Service Console. The “unsupported” busybox implementation on ESXi is just a collection of unix tools.
4 months took vmware to release “critical” patch!
I was not aware of it. Thanks for posting.