VMWare 5.1


I need to reset the root password for the hosts as someone has left the organization.  I have 2 questions:

How can I do this from vsphere?
Also, will this have any effect on the running systems or will i need to change the password anywhere once it is reset?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Assuming you know what the current root password is, then it can be done online.    Nothing else should be using the root account.    The only way that would be the case is if you have 3rd party software,  but best practice would be to always use a dedicated account.

You need to connect to the host directly using the vSphere client.
Open a new copy of the vSphere client, and type the ESXi host's IP address in the hostname field, instead of the vCenter server's hostname.

After you are logged into the ESXi host; click on the host in the inventory pane on the lefthand side and  go to the  Users and Groups tab.

Right click the root user in the list, and choose Edit.

Note: It may be impossible to login directly to the ESXi host in this manner, if the host is in security Lockdown mode, as remote login will not be allowed,  if this is the case, then  connect a keyboard and monitor the server,  then use the DCUI interface to change the password.

Alternatively,  attach a keyboard and mouse to the ESXi server, press any key -- you should see the DCUI -- direct console user interface display,  press F2  to customize, and enter the current root password.

Now in the customization menu, use the arrow keys to choose "Configure Password" and press enter.
Fill in the fields and confirm.

*Note:  it may not be possible to login to the ESXi host  using the DCUI console.
If the ESXi host is in full lockdown mode,  then it will not be possible to access the ESXi host in this manner.

In that case.... in order to change any local credentials, you will have to release security lockdown mode from vCenter,  before you will be able to login to the host through any interface to update the passwords.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you've added the host to vCenter Server using an old password, in the future you may be prompted to add the host again, which will require the new password entering.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jack_son_Author Commented:
actually, I have my question wrong.  The root passwords seem to be different than the vCenter root login.  How can I update the root password for vSphere?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.