Skip to content

Instantly share code, notes, and snippets.

@xBytez
Last active January 30, 2022 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xBytez/bf7f79b6aeaa8ef11344b9afe94d3f9a to your computer and use it in GitHub Desktop.
Save xBytez/bf7f79b6aeaa8ef11344b9afe94d3f9a to your computer and use it in GitHub Desktop.
Bypass vCenter 6.5 VCSA root password requirements

Requirements

  • SSH enabled
  • root access

Steps

  • Login to vCenter via SSH then type shell

  • Type in the following command:

vim /etc/pam.d/system-password

  • Comment out the following line:

password requisite pam_cracklib.so

All done! You can now change the root password using the passwd command.

@mav2287
Copy link

mav2287 commented Jan 30, 2022

If doing this with 6.7 you need to put the ‘#’ right before the apply to root part at end of that same line. If you try to comment out the whole line it won’t work, but if you just comment out the apply to root part it will.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment