unix_chkpwd unknown user root
I have another system (Redhat 6) with this problem. We are not able to login at all the only access we have is single user mode.
When we try to change the root password, or password of a user we just added in single user mode we get the message unix_chkpwd unknown user ... It then prompts for new password and to verify, and then gives errors about unable to obtain info, and authentication tokens not updated. The next chance I get I will check the lsattrs of /etc/passwd and /etc/shadow.
the regular permissions are :
/etc/passwd rw-r--r--
/etc/shadow ---------
The root entry in /etc/passwd and /etc/shadow look fine, as does the enrty in /etc/group. I have not checked the shadow for for /etc/group yet.
The system was working fine. I was in the process of loading it with our software and updating the OS using yum.
I have since done a yum reinstall of all the installed packages and a yum update. rebooted afterwards and still can't login in normal mode or change password in single user mode.
Is there a file in /etc/pam.d that might have an effect on this.
Are there any other files I should look at?
My only other recourse is to re-install from scratch, which while not a big issue as it is a new system I'd rather find out what the problem is and how to fix it for future cases.
|