add blue sudoers
This commit is contained in:
parent
20e604c047
commit
cbff4387cc
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user