Changing the root password on ESX you need direct access to the console remote management board is ok to if you have the password for that device 😉
- Reboot the ESX server
- In the first windows enter : a
- Type : single
- On the prompt : passwd
- Re enter the password
- Type : reboot
- Logon with the new root password.