lorax-composer: Add liveuser on live-iso to wheel group

They can already su - to root, adding them to wheel lets sudo also work.

Related: rhbz#1770193
This commit is contained in:
Brian C. Lane 2019-11-14 11:23:50 -08:00
parent a25fcf4369
commit a432c71c95

View File

@ -149,6 +149,7 @@ fi
# add fedora user with no passwd
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
passwd -d liveuser > /dev/null
usermod -aG wheel liveuser > /dev/null
# turn off firstboot for livecd boots
chkconfig --level 345 firstboot off 2>/dev/null