From 83de9134f8a0e76b25f460bac1c23aecde95a4a4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 27 Mar 2013 09:32:23 -0600 Subject: [PATCH] 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(+) diff --git a/fedora-live-base.ks b/fedora-live-base.ks index 01a0451..4b69033 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 78ad323..20459e0 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 || :