summaryrefslogtreecommitdiff
path: root/liveusb/airootfs/root
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-12-13 16:34:02 +0100
committerYuval Adam <yuv.adm@gmail.com>2014-12-13 16:34:14 +0100
commit614942f5e682671b55d4827dbd78227cc3c54180 (patch)
tree7540d7897963bb319ce7d7baa52579f1cfc15766 /liveusb/airootfs/root
parent5905de63e008f846c635301574b0f6c73cbcd95f (diff)
Add sudo, sudoers file, and amenthes user to wheel group
Diffstat (limited to 'liveusb/airootfs/root')
-rwxr-xr-xliveusb/airootfs/root/customize_airootfs.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/liveusb/airootfs/root/customize_airootfs.sh b/liveusb/airootfs/root/customize_airootfs.sh
index e1ef0b5..b22c747 100755
--- a/liveusb/airootfs/root/customize_airootfs.sh
+++ b/liveusb/airootfs/root/customize_airootfs.sh
@@ -2,7 +2,7 @@
systemctl enable vboxservice
# Create the amenthes user
-useradd -m -s /bin/bash amenthes
+useradd -m -G wheel -s /bin/bash amenthes
# Setup the lxdm config
sed -i 's/^# \(autologin=.*\)/\1/' /etc/lxdm/lxdm.conf # uncomment autlogin conf
@@ -11,3 +11,6 @@ sed -i 's/^# \(session=.*\)/\1/' /etc/lxdm/lxdm.conf # uncomment session conf
# Enable the lxdm service
systemctl enable lxdm
+
+# Uncomment wheel group in sudoers
+sed -i 's/^# \(%wheel ALL=(ALL) ALL\)/\1/' /etc/sudoers