VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x
lookup_password utility is failing due to an issue with token creation.The following steps are only applicable in cases where the local account has not yet been set up and the user cannot generate a token using the regular SSO credentials.
mkdir -p /etc/security/localchown root:vcf_services /etc/security/localchmod 650 /etc/security/localecho -n "" > /etc/security/local/.localuserpasswdchown root:vcf_services /etc/security/local/.localuserpasswdchmod 660 /etc/security/local/.localuserpasswd
# Set the new password in place of ########echo -n "*Password requirements* for the SDDC Manager local account:" | openssl dgst -sha512 -binary | openssl enc -base64 | tr -d '\n' > /etc/security/local/.localuserpasswd########
At least 12 characters
No more than 127 characters
At least one lowercase letter
At least one uppercase letter
At least one digit
At least one special character, such as @ ! # $ % ^ or ?
A character cannot be repeated more than 3 times consecutively
After setting up the local account, run the lookup_password utility using the local account, and use the same password configured in Step #1.
lookup_passwords
Output:
Password lookup operation requires ADMIN user credentials. Please refer VMware Cloud Foundation Administration Guide for setting up ADMIN user.
Supported entity types: ESXI VCENTER PSC NSX_MANAGER NSX_CONTROLLER NSXT_MANAGER NSX_ALB NSXT_EDGE VRSLCM VRLI VROPS VRA WSA BACKUP VXRAIL_MANAGER ADEnter an entity type from above list: PSCEnter page number (optional):Enter page size (optional, default=50):Enter Username: admin@localEnter Password: ######## PSC identifiers: ###.###.###.###,###.####.### workload: ###-###-### username: [email protected] password: ######## type: SSO account type: SYSTEM
Page : 1/1, displaying 1 of total 1 entities in a page.
Note: If the local account password needs to be changed after the environment is recovered (e.g., after retrieving credentials), it can be done by following the steps outlined in Update SDDC Manager Local Account Password