Bug 700954

Summary: Deficient PAM configuration files installed for XEN guest
Product: [openSUSE] openSUSE 11.4 Reporter: Willy Weisz <Willy.Weisz>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: Willy.Weisz
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs of guest installation and update

Description Willy Weisz 2011-06-20 12:42:41 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

After installing an openSuSE 11.4 XEN guest with YaST I couldn't login to it via the graphical console in the XEN host, neither as root nor as the user defined during the installation. I also couldn't login via ssh using a password.

Then I tried using the serial console: I could login without entering a password!!!

Then I installed a public user key from a remote host into .ssh/authorized_keys, and so I could ssh into the guest from that remote host.

A third problem was that I couldn't change a password: I got an Authentication Token Manipulation Error.

When looking into /var/log/messages I discovered that all my problems were PAM-related. Then I stumbled over bug 697670 which gave me the clue what to look for: Missing entries in /etc/pam.d/common-xxx files.

common-password an common-auth were missing entries that are present in the corresponding .rpmnew files; in both cases i.a. the required module pam_unix2.so was left out. This is also true for common-session, but I'm unaware whether this causes problems too.

Moving the 2 PAM configuration files with the corresponding .rpmnew ones solved all the problems described above. So please correct the XEN guest installation process!!!!

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Zhi Juan Jia 2011-06-21 02:56:18 UTC
Please attach y2logs. If you are in doubt follow:
http://en.opensuse.org/openSUSE:Bugreport_YaST
Thanks!
Comment 2 Willy Weisz 2011-06-21 07:38:24 UTC
Created attachment 435595 [details]
y2logs of guest installation and update

Here are the y2logs. I hope they'll help.
Comment 3 Jiří Suchomel 2011-06-21 09:41:40 UTC
so i think it is a same bug

*** This bug has been marked as a duplicate of bug 697670 ***