You will 1st have to unlock the account run the below command .
pam_tally2 --user=root--reset
if you have already tired the above then , there is one know issue in VCF 4.2 & 4.2.1 which is fixed in VCF 4.3
try the below
- Comment out (#) the last line in /etc/pam.d/system-password file. Alternatively change the number of "remember=5" to "remember=0".
- Update the password using passwd (make sure the password meets complexity requirements).
- Remove # (comment) from the last line in /etc/pam.d/system-password file to restore the original contents of the file/config. Alternatively change the number of "remember=0" back to "remember=5"
pam_tally2 -u root
Thanks & Regards,
Mohammed Viquar Ahmed