configure doas cause sodu sucks

or i dont know how to use it idk
This commit is contained in:
Spirit 👾 2024-08-19 10:19:41 -07:00 committed by GitHub
parent 082e4932bf
commit 8c7b996411
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,9 @@ xbps-reconfigure -fa
useradd -m -G wheel -s /bin/bash $USERNAME useradd -m -G wheel -s /bin/bash $USERNAME
sed -i 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers sed -i 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
xbps-install -y opendoas
bash -c "echo 'permit nopass $USERNAME as root' > /etc/doas.conf"
if [[ "$1" == "--wsl" ]]; then if [[ "$1" == "--wsl" ]]; then
cat <<EOF > /etc/wsl.conf cat <<EOF > /etc/wsl.conf
[user] [user]