[Fedora-spins] [spin-kickstarts/f17] Remove root password
Adam Williamson
adamwill at fedoraproject.org
Tue Jun 4 00:32:12 UTC 2013
commit f1fe59425c377eda083d5f6f233cfc4fe2451523
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 7f3bafe..839cef9 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -184,6 +184,9 @@ systemctl --no-reload disable firstboot-graphical.service 2> /dev/null || :
systemctl stop firstboot-text.service 2> /dev/null || :
systemctl stop firstboot-graphical.service 2> /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