Changing an ESXi/ESX host root password

Securing your host is so important. For that, the best practice is to change the default password. This article will discuss various ways to change your ESXi root password.

Changing an ESXi/ESX host root password using the SSH

1.) login in to the ESXi using SSH.
2.) Enter the below command to get the root privilege

su -

3.) Enter the below command to change the password for the ESXi

passwd root

3.) Enter the new password two times and you are good to go. You successfully changed the password.

screely 1668708678428
Changing an ESXi/ESX host root password using the SSH

Changing an ESXi/ESX host root password using the host client

1.) Login to the host client and on the top bar click on username@ESXI_IP

screely 1668708687976
Host Client option

2.) There you will find an option to change the password
3.) New dialog box will appear to enter your new password and you successfully change the password.

screely 1668708696763
Changing an ESXi/ESX host root password using the host client

Conclusion

Hope you like this short article. If you have any new way to do that please add this in a comment. Will love to add those methods in this post in a future iteration.

Leave a Reply

Your email address will not be published. Required fields are marked *