Replaced Sudo with doas

This commit is contained in:
eichehome 2023-04-14 20:20:11 +02:00
parent 5ffb610545
commit 0226661599

View file

@ -162,10 +162,13 @@ echo root:"${rootpw}" | chpasswd
pacman -S ${selectedKernel} "${ucode}"
pacman -S base-devel ${header}
pacman -S autoconf automake binutils bison debugedit fakeroot flex gcc groff libtool m4 make patch pkgconf texinfo which ${header} # Included in base-devel: archlinux-keyring autoconf automake binutils bison debugedit fakeroot file findutils flex gawk gcc gettext grep groff gzip libtool m4 make pacman patch pkgconf sed sudo texinfo which
pacman -S iwd dialog reflector xdg-user-dirs xdg-utils inetutils ldns bash-completion openssh rsync iptables-nft ipset firewalld lynx man-db man-pages texinfo opendoas pacman-contrib rebuild-detector
sed -i 's/#\(CHARACTER_SET:\).*/\1utf-8/' /etc/lynx.cfg
echo "permit :wheel" > /etc/doas.conf
echo "permit persist eichehome as root" >> /etc/doas.conf
echo "" >> /etc/doas.conf
@ -348,4 +351,4 @@ find /boot -type f -name arch\*.conf -exec sed -i "s/root=LABEL=arch/root=\/dev\
useradd -mG wheel eichehome
echo "$nutzername":"$nutzerpw" | chpasswd
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers.d/wheel_group
#echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers.d/wheel_group