VMware

ESXi Lockdown Mode

VERSION 1 Published

Created on: Sep 20, 2008 1:25 PM by virtualRW - Last Modified:  Sep 20, 2008 1:28 PM by virtualRW

ESXi Lockdown Mode

So finally got a chance to work with and figure out the ESXi lockdown mode. Once I actually saw it in person it make complete sense... Ways to access and ESXi host a) Using VirtualCenter and you AD credentials b) Using the VIC client direct to the ESXi host with the ESXi ID
c) Using the RCLI commands using the ESXi IDs d) standing in front of the server wtih direct console access (keyboard & mouse attached to server) and using the ESXi IDs
The chart below show the four way to access an ESXi host along with the user credentials used...
http://3.bp.blogspot.com/_z9GoVjgsBOY/SMihEO2AOoI/AAAAAAAAAA0/GXpH-agtiUM/s400/2.jpgESXi Lockdown Mode

Looking at this two thing jump out at me

Number 1 - if you are standing in front of you ESXi host and plan on making configuration changes you must have the 'root' password. No other ID will let you log in the console.

Number 2 - Lockdown mode really only disables the use of the actually 'root' ID from being used with either the VIC or the RCLI interface. Other users with 'root like' privileges that you create can still make changes to the ESXi host using these methods. Thus avoiding using VirtualCenter.

And since there is not a PAM module for ESXi if you do plan on creating users on each ESXi host you'll need to manage each host individually (IDs and Passwords), or go with generic account with 'root like' access which in that case you might as well just use the root ID.

Lockdow mode does make for a good idea if you don't have the need for any of the RCLI interfaces. This way you can keep the 'root' password in a safe, managed all the ESXi hosts via VirtualCenter and only break out the root password in the event you need to make changes to the ESXi host to fix a communiction issues with VirtualCenter.

Tags: esxi, lockdown, mode
Average User Rating
(0 ratings)




Dec 22, 2008 3:22 PM Charu  VMware  says:

Number 1 is true by default. However, you can grant privilege to other users to log in to the Direct Console UI (DCUI). You do this by adding the user to the local group "localadmin" on the ESXi box (which can be done by logging directly to the ESXi host via the VI Client). Obviously you should only do this for users who are very trusted.

More by virtualRW

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities