[Fedora-spins] [spin-kickstarts/f19] Remove root password
Adam Williamson
adamwill at fedoraproject.org
Mon May 27 19:03:38 UTC 2013
commit 94d8808a138085238b7e9053aec194bbabc6aa43
Author: Adam Williamson <awilliam at redhat.com>
Date: Mon May 27 12:02:58 2013 -0700
Remove root password
From Brian Lane: needed with livecd-tools >= 19.3, see RHBZ #964299
fedora-live-base.ks | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 3ec104e..f87373a 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -179,6 +179,9 @@ action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
passwd -d liveuser > /dev/null
usermod -aG wheel liveuser > /dev/null
+# Remove root password lock
+passwd -d root > /dev/null
+
# don't use prelink on a running live image
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null || :
More information about the spins
mailing list