
Example: password requisite /lib/security/$ISA/pam_passwdqc.so retry=3 min= 12,10,8,8,7. N4=7: Passwords containing characters from all four character classes must be at least seven characters long. N3=8: Passwords containing characters from all four character classes must be at least eight characters long. N2=8: Passphrases must contain words that are each at least eight characters long. N1=10: Passwords containing characters from two character classes must be at least ten characters long. N0=12: Passwords containing characters from one character class must be at least twelve characters long. retry=3: A user is allowed 3 attempts to enter a sufficient password. Password requisite /lib/security/$ISA/pam_passwdqc.so retry=3 min=8,8,8,7,6which actually means the following: For the exact details, have a look at VMware knowledge base entry 1012033, which states that the default password complexity policy that is set with PAM has the following default: You need to set the password with a certain complexity level. Now, you can set a new password, but please be careful about one thing. From there, select the “Administrator Password” option, and in the right hand drop down menu, select “Configure a fixed administrator password”. Next up, edit the newly created profile and open up the “Security Configuration” section. Once you are there, create a new profile from an existing host, and select the host that has the unknown password, and give it a name that you can remember.
Next up, inside your vSphere Client, go to the “Home” screen, and select “Host Profiles”, or just press “Ctrl + Shift + P”. So, after searching a bit and combining infos from several folks, I’ve found a way to reset the password, but you should note that this is not officially supported by VMware!įirst off, I would recommend you empty your host of any running virtual machines, and put it in to maintenance mode. ESXi does not have a service console and as such traditional Linux methods of resetting a password, such as single-user mode do not apply. Any other method may lead to a host failure or an unsupported configuration due to the complex nature of the ESXi architecture. Reinstalling the ESXi host is the only supported way to reset a password on ESXi. The official stance that VMware has taken on this can be found in knowledge base article 1317898, and at the time of writing, it states the following: You are trying to log on to your ESXi host, and for some reason your root password isn’t working anymore. It shouldn’t happen, but most folks I’ve spoken to have run in to this at some point in time.