Add liveuser to the wheel group so it can sudo. Fixes bug #927669

This commit is contained in:
Kevin Fenzi 2013-03-27 09:32:23 -06:00
parent 55a954e811
commit 83de9134f8
2 changed files with 2 additions and 0 deletions

View File

@ -179,6 +179,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
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :

View File

@ -224,6 +224,7 @@ mount -t tmpfs vartmp /var/tmp
# 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
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :