This article provides instructions on how to reset the passwords of the vcf and root user accounts for SDDC Manager.
You are required to change your password immediately (password expired)
su: Authentication token manipulation error
su: Authentication_failure"
To reset the passwords, take the following steps:
https://<host_fqdn>/ui). Login with the root account of the host.rw init=/bin/bashExample:
# /usr/sbin/pam_tally2 -u root -rExample:
# /usr/sbin/pam_tally2 -u vcf -r
# /usr/sbin/faillock --user root --reset
# /usr/sbin/faillock --user vcf --reset
Note: If there are any failures, use the up arrow key to re-run the command until the failures column shows 0.
# passwd vcf
# passwd root
# reboot -f
vcf account using the temporary password selected in the last step.# su rootand enter the temporary password assigned to the
root user to switch into the root user context.echo "" >/etc/security/opasswd
Note: Make a note of what the vcf and root passwords were changed to.
# chage -M 999 vcf
# chage -M 999 root
# chage -l root
In some situations, the # su root command in Step 15 might fail due to the system still recognizing its password as expired, even after it was already reset.
For Example:
vcf@vcenter01 [ ~ ]$ su root
Password:
Your account has expired; please contact your system administrator.
su: User account has expired
This can happen when even though the password was changed in the console, the system still "remembers" that the account was expired. This can occur due to the operating system blocking the login due to the account's aging policy before even verifying if the provided password is correct.
To remediate this, force the account to be unexpired with the following steps:
# chage -I -1 -m 0 -M 99999 -E -1 root
# /usr/sbin/pam_tally2 -u root -r
# /usr/sbin/faillock --user root --reset
Password expires line:# chage -l root
# reboot -f