diff --git a/build/build-stormux.sh b/build/build-stormux.sh index 2837dbb..2943e69 100755 --- a/build/build-stormux.sh +++ b/build/build-stormux.sh @@ -137,13 +137,15 @@ arch-chroot /mnt << EOF pacman-key --init pacman-key --populate archlinuxarm pacman -Syu --needed --noconfirm base base-devel bash-completion cronie espeak-ng git -# Grant sudo privileges to the stormux user for package installation. -echo 'stormux ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/wheel # Set the distribution name. echo 'Stormux \r (\l)' > /etc/issue echo >> /etc/issue # Change the alarm user to be stormux usermod -a -g users -G wheel,audio,video -m -d /home/stormux -l stormux alarm +# Grant sudo privileges to the stormux user for package installation. +echo 'stormux ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/wheel +# Set the password for the stormux user +echo -e "stormux\nstormux" | passwd "stormux" # Change to the stormux user and install some packages sudo su - stormux git clone https://aur.archlinux.org/yay.git