Update scripts now non-writable.

This commit is contained in:
Scott Duensing 2025-06-08 21:13:15 -05:00
parent aa90f1e34e
commit 7dfefc69f2

View file

@ -103,6 +103,7 @@ function configureMachine() {
mv -f /home/${USER}/unsafe-update.sh.x /home/${USER}/unsafe-update-root.sh.x
sudo chown root:root /home/${USER}/unsafe-update-root.sh.x
sudo chmod u+s /home/${USER}/unsafe-update-root.sh.x
sudo chmod a-w /home/${USER}/unsafe-update.sh /home/${USER}/unsafe-update-root.sh.x
rm /home/${USER}/unsafe-update.sh.x.c
# Add auto update icon to autostart.