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:
parent
a25fcf4369
commit
a432c71c95
@ -149,6 +149,7 @@ fi
|
|||||||
# add fedora user with no passwd
|
# add fedora user with no passwd
|
||||||
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
|
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
|
||||||
|
|
||||||
# turn off firstboot for livecd boots
|
# turn off firstboot for livecd boots
|
||||||
chkconfig --level 345 firstboot off 2>/dev/null
|
chkconfig --level 345 firstboot off 2>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user