diff options
Diffstat (limited to 'liveusb/airootfs/root/customize_airootfs.sh')
| -rwxr-xr-x | liveusb/airootfs/root/customize_airootfs.sh | 5 |
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 |
