Friday, October 23, 2009

How to disable password complexity on ESXi Server 4.0

  • Logon to the ESX Server through a telnet session or through console
  • Open the file /etc/pam.d/common-password
  • Just add 'enforce=none' at the end of first line & save it.
  • No restart required for the ESX Server
#%PAM-1.0
password requisite /lib/security/$ISA/pam_passwdqc.so retry=3 min=8,8,8,7,6 enforce=none
password sufficient /lib/security/$ISA/pam_unix.so use_authtok md5 shadow
password required /lib/security/$ISA/pam_deny.so

0 comments: