This commit is contained in:
David Heinemeier Hansson 2025-08-25 08:38:07 +02:00
parent e8f932b0f6
commit 39e0cf3a37

View File

@ -8,6 +8,6 @@ touch ~/.local/state/omarchy/first-run.mode
sudo tee /etc/sudoers.d/first-run >/dev/null <<EOF
$USER ALL=(ALL) NOPASSWD: /usr/bin/ufw
$USER ALL=(ALL) NOPASSWD: /usr/bin/ufw-docker
$USER ALL=(ALL) NOPASSWD: /bin/rm -f /etc/sudoers.d/first-run
$USER ALL=(ALL) NOPASSWD: /bin/rm -f /home/$USER/.local/state/omarchy/first-run.mode
EOF
sudo chmod 440 /etc/sudoers.d/first-run