Reset ESXI root password that is a part of SDDC manager
book
Article ID: 425820
calendar_today
Updated On:
Products
VMware vSphere ESXi
VMware SDDC Manager
Issue/Introduction
- Forgot ESXI root password.
- Unable to login into ESXi host with the stored root credentials on SDDC.
Resolution
- SSH into the SDDC Manager with vcf user and su to root
- Create a token on the SDDC Manager.
TOKEN=$(curl -d '{"username" : "<sso_username>", "password" : "<sso_password>"}' -H "Content-Type: application/json" -X POST http://127.0.0.1/v1/tokens | jq -r '.accessToken')
- Pull the credentials from SDDC.
curl -k -X GET -H "Authorization: Bearer "$TOKEN"" --insecure 'https://localhost/v1/system/credentials/service' | json_pp | less
- Login to the ESXI with the svc-vcf password for the ESXI retrieved from the above steps
- Type passwd root
- Set the new root password
Feedback
thumb_up
Yes
thumb_down
No