added sudo to last sed command
This commit is contained in:
parent
86cbc7d9e2
commit
727b80e50f
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
|||
|
||||
# Cleanup
|
||||
sudo rm /etc/sudoers.d/99-$USER
|
||||
sed -i '140d' /etc/sudoers
|
||||
sudo sed -i '140d' /etc/sudoers
|
||||
sudo rm -rf /home/$USER/cosmetics
|
||||
|
||||
# End of script
|
||||
|
|
Loading…
Reference in a new issue