summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2013-05-27 19:02:58 (GMT)
committerAdam Williamson <awilliam@redhat.com>2013-05-27 19:02:58 (GMT)
commit94d8808a138085238b7e9053aec194bbabc6aa43 (patch)
tree939da629f245bf74b6c6a5ea852544e01819fc68
parente835795de19d58b46f0dbbfeafbe0819d5483f57 (diff)
downloadspin-kickstarts-94d8808a138085238b7e9053aec194bbabc6aa43.zip
spin-kickstarts-94d8808a138085238b7e9053aec194bbabc6aa43.tar.gz
spin-kickstarts-94d8808a138085238b7e9053aec194bbabc6aa43.tar.xz
Remove root password
From Brian Lane: needed with livecd-tools >= 19.3, see RHBZ #964299
-rw-r--r--fedora-live-base.ks3
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 || :