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

Jeremy Katz katzj at redhat.com
Mon Apr 16 20:41:32 UTC 2007


On Mon, 2007-04-16 at 17:25 +0200, Jeroen van Meeuwen wrote:
> Jeremy Katz wrote:
> > 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.
>
> Good point. Improvements attached.

Looks good and applied.  Thanks.

Jeremy




More information about the livecd mailing list