mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-09 23:50:07 +00:00
Add liveuser to the wheel group so it can sudo. Fixes bug #927669
This commit is contained in:
parent
55a954e811
commit
83de9134f8
@ -179,6 +179,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
|
||||||
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
|
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
|
||||||
|
@ -224,6 +224,7 @@ mount -t tmpfs vartmp /var/tmp
|
|||||||
# 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
|
||||||
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
|
systemctl --no-reload disable firstboot-text.service 2> /dev/null || :
|
||||||
|
Loading…
Reference in New Issue
Block a user