[Fedora-spins] [PATCH] Remove root password

Brian C. Lane bcl at redhat.com
Thu May 23 18:34:48 UTC 2013


From: "Brian C. Lane" <bcl at redhat.com>

This will be needed when using livecd-tools >= 19.3
---
 fedora-live-base.ks | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 41f883f..0135a3a 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
+
 # turn off firstboot for livecd boots
 systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
 systemctl --no-reload disable firstboot-graphical.service 2> /dev/null || :
-- 
1.8.1.4



More information about the spins mailing list