commit 83de9134f8a0e76b25f460bac1c23aecde95a4a4
Author: Kevin Fenzi <kevin(a)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 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 || :
Show replies by date