[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.

Jeremy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]