Rasmus Haslund

Virtualize everything!

  • LinkedIn
  • RSS
  • Twitter
  • YouTube
  • Home
  • Videos
  • Practice Exams
    • VMCE practice exam – Veeam Certified Engineer
  • EqualLogic
  • Veeam
  • VMware
  • About

Disable ESXi Password Complexity

2015-03-17 by Rasmus Haslund 5 Comments

A part of my job as a VMware Certified Instructor is to update our lab systems whenever new vSphere versions come out.

 

After upgrading from 5.5 to 6.0 I decided we should change passwords, however I was unable to choose the unsecure password I had decided to use:

Weak password: based on a dictionary word and not a passphrase.

 

Obviously, we need to mess with the password complexity requirements to resolve this.

Password complexity is managed by the /etc/pam.d/passwd file.

Here is the default content:

 

To temporarily disable password complexity requirements we can comment out the first and third lines and edit the second with command: vi /etc/pam.d/passwd

Remember you can type “i” to enter insert mode, press “ESC” button to stop, then type 😡 (and press Enter) to exit and save.

If you messed up and want to exit without saving type :q! (and press Enter).

 

A quick look at the file to see the end result:

 

Let us try changing password again:

Success!

 

Once the host comes back up I suggest you edit the /etc/pam.d/passwd file back to its original settings.

 

Please leave a comment if this was useful to you.

Filed Under: VMware Tagged With: complexity, ESXi, password, requirements, VMware, vSphere

Subscribe
Connect with
Login
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
Notify of
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
Please login to comment
5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Reid
6 years ago

Very helpful Thank you!.

0
Furlan86
6 years ago

Thanks, mate!!!!!!! 🙂

0
Vmware 6.x строгие требования к паролям пользователей, как изменить? | tecnotes.NET
5 years ago

[…] Подробнее: https://www.perfectcloud.org/fix-it/vmware/disable-esxi-password-complexity/ […]

0
Исправление сложности пароля на VmWare 6.0+ - Day by Day, Site by SiteDay by Day, Site by Site
5 years ago

[…] источник — https://www.perfectcloud.org/fix-it/vmware/disable-esxi-password-complexity/ […]

0
Adilio Andrade
5 years ago

Thanks!!! It’s work..

0

Sponsors

wpDiscuz