Remove root password

From Brian Lane: needed with livecd-tools >= 19.3, see RHBZ #964299
This commit is contained in:
Adam Williamson 2013-05-27 15:40:28 -07:00
parent b215e215dc
commit 282c3621ba
1 changed files with 3 additions and 0 deletions

View File

@ -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 || :