forked from srbala/fedora-kickstarts
Remove root password
From Brian Lane: needed with livecd-tools >= 19.3, see RHBZ #964299
This commit is contained in:
parent
b215e215dc
commit
282c3621ba
@ -179,6 +179,9 @@ action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
|
|||||||
passwd -d liveuser > /dev/null
|
passwd -d liveuser > /dev/null
|
||||||
usermod -aG wheel liveuser > /dev/null
|
usermod -aG wheel liveuser > /dev/null
|
||||||
|
|
||||||
|
# Remove root password lock
|
||||||
|
passwd -d root > /dev/null
|
||||||
|
|
||||||
# turn off firstboot for livecd boots
|
# turn off firstboot for livecd boots
|
||||||
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
|
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
|
||||||
systemctl --no-reload disable firstboot-graphical.service 2> /dev/null || :
|
systemctl --no-reload disable firstboot-graphical.service 2> /dev/null || :
|
||||||
|
Loading…
Reference in New Issue
Block a user