diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2014-12-13 16:34:02 +0100 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2014-12-13 16:34:14 +0100 |
| commit | 614942f5e682671b55d4827dbd78227cc3c54180 (patch) | |
| tree | 7540d7897963bb319ce7d7baa52579f1cfc15766 | |
| parent | 5905de63e008f846c635301574b0f6c73cbcd95f (diff) | |
Add sudo, sudoers file, and amenthes user to wheel group
| -rwxr-xr-x | liveusb/airootfs/root/customize_airootfs.sh | 5 | ||||
| -rw-r--r-- | liveusb/packages.x86_64 | 1 |
2 files changed, 5 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 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 |
