From 614942f5e682671b55d4827dbd78227cc3c54180 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sat, 13 Dec 2014 16:34:02 +0100 Subject: Add sudo, sudoers file, and amenthes user to wheel group --- liveusb/airootfs/root/customize_airootfs.sh | 5 ++++- liveusb/packages.x86_64 | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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 diff --git a/liveusb/packages.x86_64 b/liveusb/packages.x86_64 index 9c59571..6e950a4 100644 --- a/liveusb/packages.x86_64 +++ b/liveusb/packages.x86_64 @@ -3,3 +3,4 @@ xf86-video-ati xf86-video-nouveau xorg-server lxde +sudo -- cgit v1.3.1