commit b9ed586d71210fe3fb2204a91531fadb47189d7a Author: Kevin Fenzi kevin@scrye.com Date: Wed Mar 27 09:32:23 2013 -0600
Add liveuser to the wheel group so it can sudo. Fixes bug #927669
fedora-live-base.ks | 1 + fedora-live-mini.ks | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) --- diff --git a/fedora-live-base.ks b/fedora-live-base.ks index 2b893f9..2f32063 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -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 || : diff --git a/fedora-live-mini.ks b/fedora-live-mini.ks index 41fec0f..9f9199c 100644 --- a/fedora-live-mini.ks +++ b/fedora-live-mini.ks @@ -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 || :