added sudo to last sed command

This commit is contained in:
RP1 2024-12-22 23:52:32 +01:00
parent 86cbc7d9e2
commit 727b80e50f

View file

@ -134,7 +134,7 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
# Cleanup # Cleanup
sudo rm /etc/sudoers.d/99-$USER sudo rm /etc/sudoers.d/99-$USER
sed -i '140d' /etc/sudoers sudo sed -i '140d' /etc/sudoers
sudo rm -rf /home/$USER/cosmetics sudo rm -rf /home/$USER/cosmetics
# End of script # End of script