Disable password complexity in ESXi 6.5

From Notes_Wiki
Revision as of 15:09, 8 July 2018 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>VMWare_vSphere_or_ESXi|VMWare vSphere or ESXi</yambe:breadcrumb> =Disable password complexity in ESXi 6.5= After ESXi 6.5 setup is complete, password comple...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>VMWare_vSphere_or_ESXi|VMWare vSphere or ESXi</yambe:breadcrumb>

Disable password complexity in ESXi 6.5

After ESXi 6.5 setup is complete, password complexity requirements are enforced for users, esp. root. To change root password to a simple non-complex password by disabling password complexity requirements temporarily use following steps:

  1. SSH to host
  2. vi /etc/pam.d/passwd
  3. Comment first (requisite) and second (sufficient) lines
  4. Copy sufficient line nad remove auth_ok. Leave this edited line uncommented
  5. Save and exit vim
  6. Change password using passwd command to desired simple (non-complex) password
  7. Again vi /etc/pam.d/passwd and make it same as before


Refer: