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 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'liveusb/airootfs/root') 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 -- cgit v1.3.1