Update scripts now non-writable.
This commit is contained in:
parent
aa90f1e34e
commit
7dfefc69f2
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ function configureMachine() {
|
||||||
mv -f /home/${USER}/unsafe-update.sh.x /home/${USER}/unsafe-update-root.sh.x
|
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 chown root:root /home/${USER}/unsafe-update-root.sh.x
|
||||||
sudo chmod u+s /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
|
rm /home/${USER}/unsafe-update.sh.x.c
|
||||||
|
|
||||||
# Add auto update icon to autostart.
|
# Add auto update icon to autostart.
|
||||||
|
|
Loading…
Add table
Reference in a new issue