diff --git a/chscript.sh b/chscript.sh index f1b4ba7..37c2a46 100755 --- a/chscript.sh +++ b/chscript.sh @@ -13,8 +13,10 @@ echo "127.0.1.1 blue" >> /etc/hosts useradd -m blue +echo "Root password" passwd +echo "Blue password" passwd blue @@ -35,8 +37,13 @@ grub-mkconfig -o /boot/grub/grub.cfg systemctl enable lightdm cd /opt + git clone https://aur.archlinux.org/yay-git.git chown -R blue:blue ./yay-git +cd ./yay-git + +echo "blue ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers + sudo -u blue makepkg -si exit diff --git a/install.sh b/install.sh index 463304e..5725cab 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ pacman -Syy -pacstrap /mnt base linux linux-firmware grub efibootmgr xorg leafpad vim git lxde lightdm lightdm-gtk-greeter lxde-common lxterminal lxsession openbox sudo +pacstrap /mnt base linux linux-firmware grub efibootmgr xorg leafpad vim git lxde lightdm lightdm-gtk-greeter lxde-common lxterminal lxsession openbox sudo base-develpac go genfstab -U /mnt >> /mnt/etc/fstab