[Bug 697670] New: Even though password is set system accepts anything / blank password
https://bugzilla.novell.com/show_bug.cgi?id=697670 https://bugzilla.novell.com/show_bug.cgi?id=697670#c0 Summary: Even though password is set system accepts anything / blank password Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: i586 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: a.vankaam@chello.nl QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.8.131 Version/11.11 Clean install (so format of /) with 11.4 i586 on a HP Pavilion notebook, went with the defaults, set user name and password, kept box checked to use password for administrator, install went fine. Once system is up an running you no longer need a password to use su, sudo or even ctrl+alt+f1 and login as root or as user ! passwd returns permission denied for both user and root /var/log/messages shows: Jun 2 12:49:13 leisha su: (to root) hhs on /dev/pts/2 Jun 2 12:49:16 leisha passwd[11011]: User root: Permission denied Jun 2 12:49:16 leisha passwd[11011]: password change failed, pam error 6 - account=root, uid=0, by=0 passwd and shadow file permissions seem okay and shadow shows an encrypted password: # ls -l /etc/passwd -rw-r--r-- 1 root root 1140 Jun 2 12:39 /etc/passwd leisha:/home/hhs # ls -l /etc/shadow -rw-r----- 1 root shadow 609 Jun 2 12:39 /etc/shadow leisha:/home/hhs # cat /etc/passwd | grep root root:x:0:0:root:/root:/bin/bash leisha:/home/hhs # cat /etc/shadow | grep root root:$2a$05$.0rKvh5u3kRwwzVJHf1wYO3myjfr9yEUhRwcctkcXRfgjM6zB.3Oa:15127:::::: leisha:/home/hhs # I done 3 installs now, all with reformat and all with the exact same result. Used same DVD and install steps on a desktop and it does not show this behavior at all Reproducible: Always Steps to Reproduce: 1. clean install on this notebook from i586 dvd, set password during install Actual Results: su, when asked for password you can press enter passwd will give error Expected Results: to be prompted to enter the correct password and to be able to change password -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c
Alexander van Kaam
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c1
Jean-Daniel Dodin
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c2
--- Comment #2 from Alexander van Kaam
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c3
--- Comment #3 from Jean-Daniel Dodin
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c4
--- Comment #4 from Alexander van Kaam
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c5
--- Comment #5 from Jean-Daniel Dodin
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c6
--- Comment #6 from Alexander van Kaam
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c7
--- Comment #7 from Alexander van Kaam
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c8
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c9
--- Comment #9 from Alexander van Kaam
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c10
--- Comment #10 from Alexander van Kaam
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c11
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c12
--- Comment #12 from Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c13
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c14
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c15
Jiří Suchomel
I just see the errors when trying to download /images/x11-meta-i386.tar.xz and /images/x11-i386.tar.xz (Input/output error, search for 'Can't hardlink/copy' in the log). But as Yast just logs the error and continues, this might be ok?
<3> linux(2895) [YCP] ImageInstallation.ycp:244 File /images/x11-meta-i386.tar.xz not found on media
Coolo, can you confirm the image is not corrupted? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c16
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c17
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c18
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c21
--- Comment #21 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c22
--- Comment #22 from Alexander van Kaam
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c23
--- Comment #23 from Alexander van Kaam
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c24
Jeff Heisz
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c25
--- Comment #25 from Ludwig Nussel
Jumping on the bandwagon since this bug appears stuck. I can reproduce this problem at will on four separate systems, so I can hopefully provide more information and someone can hopefully provide me steps for a fix (aside from finding a working pam.d).
See comment #18, did you use image based installation? If so does turning the option off help? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c26
Jeff Heisz
(In reply to comment #24)
Jumping on the bandwagon since this bug appears stuck. I can reproduce this problem at will on four separate systems, so I can hopefully provide more information and someone can hopefully provide me steps for a fix (aside from finding a working pam.d).
See comment #18, did you use image based installation? If so does turning the option off help?
Ok, based on the previous information I had managed to confirm that updating common-auth, common-password and common-session from another system fixed the problem. I did a reinstall with the same options except for turning off install from images as described in #18. The problem did not reappear and I just confirmed that the correct common-* files are in /etc/pam.d -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c27
Jiří Suchomel
Jumping on the bandwagon since this bug appears stuck. I can reproduce this problem at will on four separate systems, so I can hopefully provide more information and someone can hopefully provide me steps for a fix (aside from finding a working pam.d).
What's last modification time of those currupted /etc/pam.d files? + Please attach YaST log files from the same test, so we can compare it with the logging times in the log. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c28
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=697670
https://bugzilla.novell.com/show_bug.cgi?id=697670#c29
Jorge Vallecillo
Okay, I been searching into this PAM error and found the /etc/pam.d, here I noticed a difference between the pam.d on the laptop and that on the desktops, it had a few files more like common-auth-rpmnew and some files where different in size by a few bytes
so I made a backup of pam.d on the laptop and copied the pam.d over from the desktop, and low and behold passwords now work !!!
Now I know little of pam.d and how the installation of opensuse works but I can be sure I did not touch that directory. Maybe opensuse uses diffrent images if its laptop vs desktop ?
anyway I will attach the pam.d from the laptop as a tar to this bugzilla, hopefully it will help us understand why it was installed ?
This worked for me too. Just replace files under /etc/pam.d/ with the same files of a working 11.4 installation. Updating my system didn't worked. Should this be a security update? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com