You can use the direct console to set the password for the administrator account (root).

The administrative user name for the ESXi 4.0 host is root. By default, the administrative password is not set.


From the direct console, select Configure Password.


Enter a new password.


Retype the new password and press Enter.

Console screen with prompts for old and new passwords