new1234.jpg

Archive

Posts Tagged ‘Password’

VMware: Update or recover “root” password using Host Profiles

August 26th, 2014 No comments

Start Profile Wizard after you have entered Maintenance Mode

image

– Select: Create Profile from existing host

 

image

– Select host (in maintenance mode)

image

– Profile details: Reset root password

image

– Finish the host profile creation
On the left pane select your new host profile and right-click and select edit profile:

image

– Select: Root password reset > Security configuration > SSH authorized key for root user

Note: check or deselect specific host profile configurations to enable or disable them. A disabled configuration will not be applied when applying the host profile and hosts will not be checked for compliance with that configuration

Now click OK and we’ll start attaching the host of which we want to reset the password. Click ‘Attach Host/Cluster’ and select the right host, click Attach and then OK.

Voila, the root account of the host has been reconfigured and you should be able to log in again. Now the only thing left is to detach the host from the profile.

sanderdaems

Sander Daems is founder and author of this blog and working as a Sr. Infrastructure Consultant by IT-Value. Sander has over 10 years experience in IT, primary focus: virtualization, storage and SBC

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: How do I change a forgotten root password on my ESX Server Host?

April 6th, 2009 No comments

Occasionally, an administrator will ask about recovering the password to an ESX Server host:

  • I do not know the root user’s password on my ESX Server host. How can I reset the password?
  • I have lost the root password to my ESX host, how can I recover it? This article provides a solution to the problem of having a lost password for the root account on an ESX Server host.

Note: In some cases a defective keyboard can cause problems logging into ESX. You might want to test with a different physical keyboard if you are having difficulties with known login credentials.

If you have forgotten or don’t know the password for the root user on an ESX Server host, you can change it without reinstalling ESX Server. 

Warning: This can be used maliciously and should be safeguarded against through proper physical access to the host, authenticated remote console access, monitoring and protection against reboot procedures (e.g. grub password) and limited access to the management network.

See http://www.vmware.com/resources/techresources/726 for more information on security best practices.

Note: The procedure below performs a password reset, it "blindly" replaces the existing root password with a new one. This is not password recovery, it does not allow you to learn the original root password. VMware does not provide tools or methods to recover the original root password of an ESX host.

To change the password for the root user, you must reboot the ESX Server host into service console only in single-user mode. To do this, follow the steps below appropriate for your version of ESX:

ESX Server 3.x:

  1. Reboot the ESX Server hostimage Read more…
Categories: VMware Tags: , , , ,