Bug 453585

Summary: Unable to set root password in livecd
Product: [Fedora] Fedora Reporter: Steven Op de beeck <steven-fcbugz>
Component: livecd-toolsAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: davidz, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: 0.17.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-02 07:24:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
livecd kickstart file none

Description Steven Op de beeck 2008-07-01 13:32:45 UTC
Description of problem:

Unable to set a root password for a livecd image using the kickstart configuration.

Version-Release number of selected component (if applicable):
livecd-tools-017-1.fc9

How reproducible:
Create livecd using attached kickstart file:
sudo livecd-creator -c livecd-dnet-backup.ks -t /home/user/tmp
--cache=/home/user/tmp/yum-cache



Steps to Reproduce:
1. create livecd
2. boot using qemu / livecd-to-usb
3. try to login as root
  
Actual results:
login doesn't accept set password.

Expected results:
login should accept set password.

Additional info:
Methods tried to set root-password:
1) rootpw test

2) 
%post
echo 'test' | passwd --stdin root
%end

3) 
start livecd into user-level 1; 
use passwd to set root password
(kickstart has: auth --useshadow --enablemd5)
verify: /etc/shadow remains unchanged
goto runlevel 3
try to login with newly set root password: but fails.

Comment 1 Steven Op de beeck 2008-07-01 13:32:45 UTC
Created attachment 310667 [details]
livecd kickstart file

Comment 2 Jeremy Katz 2008-07-01 19:49:10 UTC
Which version of livecd-tools are you using?

Comment 3 Steven Op de beeck 2008-07-01 20:15:34 UTC
> Version-Release number of selected component (if applicable):
> livecd-tools-017-1.fc9

The most current, non-testing version, from F9 (not rawhide).


Comment 4 Jeremy Katz 2008-07-01 20:28:51 UTC
Can you try 0.17.1 (in -updatest-testing currently, although it'll be in
-updates as soon as the bodhi push runs) and see if it fixes things?  As I
believe that it should be good there

Comment 5 Steven Op de beeck 2008-07-02 07:24:29 UTC
It's fixed indeed, thanks.