Red Hat Bugzilla – Bug 971592
Can't login with root after installing and not configuring any other user
Last modified: 2013-09-19 14:58:56 EDT
Just installed a F19 guest, with minimal installation.
I was testing screen performance during instalation, and then I set up the root password twice during the installation. And I didn't set up any other user, I wasn't going to use anyway.
But when VM installed, I couldn't login on guest tty console using root. Had to boot with init=/bin/bash.. then I tried re-setting the password, in case the 2nd attempt during install had borked it, but I still couldn't login.
Jun 6 20:58:55 localhost sshd: Server listening on 0.0.0.0 port 22.
Jun 6 20:58:55 localhost sshd: Server listening on :: port 22.
Jun 6 20:58:59 localhost unix_chkpwd: check pass; user unknown
Jun 6 20:59:00 localhost unix_chkpwd: check pass; user unknown
Jun 6 20:59:00 localhost unix_chkpwd: password check failed for user (root)
Jun 6 20:59:00 localhost login: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost= user=root
Jun 6 20:59:02 localhost login: FAILED LOGIN 1 FROM tty1 FOR root, Authentication failure
Jun 6 20:59:03 localhost unix_chkpwd: check pass; user unknown
Jun 6 20:59:04 localhost unix_chkpwd: check pass; user unknown
Jun 6 20:59:04 localhost unix_chkpwd: password check failed for user (root)
Jun 6 20:59:07 localhost login: FAILED LOGIN 2 FROM tty1 FOR root, Authentication failure
Not sure what else I can provide. Please let me know.
I'm keeping this guest around a while for your debugging..
Marcelo, can you attach any log files you have in /var/log/anaconda? Also, does the root user appear in both /etc/passwd and /etc/shadow? The "check pass; user unknown" lines seem to indicate that the pam module wasn't able to find the root user data.