[Fedora-livecd-list] [Patch] setting root password

Jeremy Katz katzj at redhat.com
Mon Apr 16 14:40:23 UTC 2007

On Sun, 2007-04-15 at 12:28 +0200, Jeroen van Meeuwen wrote:
> This is an attempt to fix being able to set the root password from
> kickstart.

This changes the behavior, though.  A blank password isn't the same as
setting the passwd to empty with -d.  So you need to check for a lack of
a root pass and still set it with -d.

Also, instead of essentially running sed on /etc/shadow for the case of
a crypted password, you can use usermod -p.  Or it could use libuser
like anaconda currently does, but that's probably overkill.


More information about the Fedora-livecd-list mailing list