VMware ESXi 6.X
VMware ESXi 7.X
VMware ESXi 8.X
For more information on security best practices, see the VMware Technical Paper, VMware Infrastructure 3 Security Hardening.
Note:
If Root password is forgotten, then you may refer Reset ESXI password through Host Profile.