try to fix sudo

This commit is contained in:
iceBear67
2025-03-22 19:24:17 +08:00
parent c7a476a7f0
commit 71777b542a
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ apt-get update && apt-get upgrade
chmod +x /bin/bubble
apt-get install -y curl jq neovim htop fish tmux sudo git
useradd -m -s /usr/bin/fish user
echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
echo "user ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
sudo -u user mkdir -p /home/user/.config/fish/
EOF
COPY ./init.fish /init.fish