From 35fc5eccd64b4ce1db7b2166ae5f4479ab25260d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 9 Dec 2020 15:34:03 -0500 Subject: [PATCH] Bug fix, tried to set password before rnaming user. Added default password for stormux user. --- build/build-stormux.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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