summaryrefslogtreecommitdiff
path: root/liveusb/airootfs/root/customize_airootfs.sh
blob: a4bd382c9f42524e77acb39a1a4a148e3dce3515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Enable the vbox service
systemctl enable vboxservice

# Create the amenthes user
useradd -m -G wheel -s /bin/bash amenthes

# Setup the lxdm config
sed -i 's/^# \(autologin=.*\)/\1/' /etc/lxdm/lxdm.conf  # uncomment autlogin conf
sed -i 's/dgod/amenthes/' /etc/lxdm/lxdm.conf  # replace autologin user
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) NOPASSWD: ALL\)/\1/' /etc/sudoers