Bug fix, tried to set password before rnaming user. Added default password for stormux user.
This commit is contained in:
parent
6f8dd179ad
commit
35fc5eccd6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user