Bug 971592 - Can't login with root after installing and not configuring any other user
Summary: Can't login with root after installing and not configuring any other user
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-06 21:10 UTC by Marcelo Ricardo Leitner
Modified: 2013-09-19 18:58 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 18:58:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marcelo Ricardo Leitner 2013-06-06 21:10:07 UTC
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.

/var/log/secure contains:

Jun  6 20:58:55 localhost sshd[852]: Server listening on 0.0.0.0 port 22.
Jun  6 20:58:55 localhost sshd[852]: Server listening on :: port 22.
Jun  6 20:58:59 localhost unix_chkpwd[911]: check pass; user unknown
Jun  6 20:59:00 localhost unix_chkpwd[912]: check pass; user unknown
Jun  6 20:59:00 localhost unix_chkpwd[912]: 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[913]: check pass; user unknown
Jun  6 20:59:04 localhost unix_chkpwd[914]: check pass; user unknown
Jun  6 20:59:04 localhost unix_chkpwd[914]: 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..

Thanks,
Marcelo.

Comment 1 David Shea 2013-08-02 19:21:25 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.