add blue sudoers

This commit is contained in:
nannal 2021-01-09 00:39:49 +02:00
parent 20e604c047
commit cbff4387cc
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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