Bug 544314

Summary: JJ: su requires root password on gnome livecd
Product: [openSUSE] openSUSE 11.2 Reporter: Vincent Untz <vuntz>
Component: GNOMEAssignee: Vincent Untz <vuntz>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: binner, captain.magnus, coolo, rastislav.krupansky, vuntz
Version: FactoryFlags: coolo: SHIP_STOPPER+
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Vincent Untz 2009-10-05 12:29:08 UTC
This was mixed in bug 537343, which is about another (similar issue). See various comments:

What i noticed in M8, the root password is required by live installer -
/sbin/yast2 live-installer on LiveCD. Reproducible on real harware and in
VMware.

[...]

However, calling "su" itself asks for the password too. So I guess it's
expected that gnomesu has the same behavior?

[...]

Just tested the 11.1 livecd and indeed, "su" doesn't ask for password. I'll
clone this bug for Christoph's issue.
Comment 1 Stephan Kulow 2009-10-05 14:02:46 UTC
11.1 did not have pam_gnome_keyring.so in the pam.d/common-auth. If you remove it, it works fine.
Comment 2 Vincent Untz 2009-10-06 09:35:47 UTC
Okay, after investigation, this is happening because of limitations of our pam configuration (see bug 477488 for details), and this is not going to get fixed, unfortunately :/ To work around this, we have a patch that creates the password prompt during authentication in the pam_gnome_keyring module.

(I fixed a small issue where the prompt should not happen with some configuration is used for pam_gnome_keyring, but it's an edge case)

So, Esteban, could you do the magic trick of commenting out the pam_gnome_keyring.so in pam.d/common-auth on the LiveCD and restoring it during install?

(I can do the changes if you tell me where :-))
Comment 3 Stephan Kulow 2009-10-06 10:05:25 UTC
You can change it in kiwi-config-openSUSE as discussed on IRC
Comment 4 Vincent Untz 2009-10-06 11:04:25 UTC
Fix submitted and accepted.
Comment 5 Bernhard Wiedemann 2016-04-15 09:57:05 UTC
This is an autogenerated message for OBS integration:
This bug (544314) was mentioned in
https://build.opensuse.org/request/show/21906 Factory:Live / kiwi-config-openSUSE