Hello everyone,
I have issue that my root account has expired. I'd tried to change password but there was no effect. I can login ssh and console. But I cannot patch and upgrade my vcsa. Are there any suggestions?
I've tried:
- pam_tally2 -r -u root
- passwd root
- I've made password "never expired" in /etc/shadow
But all this took no effect.
vcsa version:
vCenter Server 6.5 0a Express Patch 1 | 2017-02-02 | 4944578 |
Hi,
perform the procedures described in these links:
https://www.kieri.com/how-to-fix-or-change-vcenter-root-password-expired-6-5-and-6-7/
ARomeo
I've done this action and after I've got the same issue.
chage -l root
Your account has expired; please contact your system administrator
chage: PAM: User account has expired
It seems that there is some kind of cache where it is stored. I have no ideas.
You could check this article:
As I said I've already checked and done VMware Knowledge Base Step-by-step. And nothing has changed. It seems something wrong with PAM.
Hi,
look at the solution proposed in this article, it seems interesting:
vcenter appliance root login denied
ARomeo
i wonder that you can login via ssh and console if the account is expired.
can you login into the vami ?
how do you want to patch ? vami or cli ?
what errors do you get when trying to patch ?
Having the same issue. Did you find a resolution?
Having the same issue - VCSA 7.0u1d
Authenticated to ssh using administrator@vsphere.local following https://kb.vmware.com/s/article/75174
chage -l root
Your account has expired; please contact your system administrator
chage: PAM: User account has expired
chage -I -1 -m 0 -M 99999 -E -1 root
Your account has expired; please contact your system administrator
chage: PAM: User account has expired
pam_tally2 --user=root
Login Failures Latest failure From
root 0
passwd -S root
root P 05/04/2021 999 999 7 -1
Changed the password in SSH - issue remains
Broke intop the GRUB using https://kb.vmware.com/s/article/2147144 and changed the password - issue remains
Trying to log into VAMI gives the error "Could not fetch the user details."
This is not an issue with the root password or changing the root password etc - please do not suggest ways in which the password or expiry date can be changed. This has all been done multiple times
It looks to be an issue with PAM whereby even after sucessfully changing the root password, the root account is still listed as expired
Did anyone find a solution ?
I'm experiencing the same issue.
I can't upgrade VCSA 6.5 to 6.7 because of this issue
Thank you so much, the issue was resolved.
vCenter has been upgraded successfully.
Thank you again
Hi @comahony any chance you can create a Public KB for this issue please?
Seems like it occurs often enough on the Photon OS's.
Thanks, Mich.
root:$6$S5wlfuIprQNjvWLt$Uu3yjxYgKhsVhAfKQKYK.WcAEkOKm1SwOahP.Lktr7GFN.fAqkDjSQeQNLnyoQPoZQjtrG8KrMIo.JT5OjuS3.:18722:0::7::0: