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
Login
Notify of
Please login to comment
5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Reid
9 years ago

Very helpful Thank you!.

0
Furlan86
9 years ago

Thanks, mate!!!!!!! 🙂

0
Vmware 6.x строгие требования к паролям пользователей, как изменить? | tecnotes.NET
8 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
8 years ago

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

0
Adilio Andrade
8 years ago

Thanks!!! It’s work..

0

Sponsors

wpDiscuz