- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Forgot the root password
Hi.
Anyway to access an ESXi box if the root password has been forgotten?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As your post needs moving to the area for ESXi, I have reported it to the volunteer moderators.
To answer your question: https://kb.vmware.com/s/article/1317898
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check out this thread.
https://communities.vmware.com/t5/New-Security-Advisory-VMSA-2021/Forgot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If its managed by a vCenter:
- let the ESXi join the Windows AD too and you can log into ESXi with AD credentials and change password
- With the help of a Host Profile you can set a new ESXi root password as well (needs Enterprise Plus)
or when its a ESXi 6.7
- Booting with a Linux LiveCD or the gpartedISO and extract bootbank TGZ and mount it. You can that use "passwd" to write into the etc/shadow. Done that a dozen of time in the last years. It took 15min.
Regards,
Joerg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check this blog:
4 ways to reset root password
https://www.vmwareblog.org/forgot-esxi-root-password-no-problems-4-ways-reset/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In case this is a standalone host - reinstall ESXi but preserve your VMFS datastore. VMs will stay with you.