Use /sbin/grub-md5-crypt to create a password hash. Then, in your ks file add a line like this...

rootpw --iscrypted \$1\$vLOQS9GY\$HDQlZbYtdQ0/LT3RKxjD80

(where all the crazy text is the result of running grub-md5-crypt).

  --  cj  --


From: prakash srinivasan <asprakash_83@rediffmail.com>
To: fedora-livecd-list@redhat.com
Sent: Saturday, March 14, 2009 9:45:14 AM
Subject: [Fedora-livecd-list] Password for fedora livecd

 
Hello all,
      I added/removed some packages & created a fedora customized livecd using by the livecd-fedora-9-desktop.ks and livecd-fedora-9-base.ks files.
When I am trying to access the system settings or any superuser's applications, its asking root password. I did not set any root password in the .ks file and I tried "root","", "fedora" & "toor" also. But no use. Somebody already posted the same query in this mailing list. But I did not find any proper reply for that query. Help me to disable the root password or how to reset the root password by editing my customized .iso.

Regards,
Prakash. 



Moneywiz