Compare commits

...

2 Commits

Author SHA1 Message Date
cercatrova21
d2fe7e9c66 add apt 2024-02-14 14:40:17 +01:00
cercatrova21
dd90a6151d remove sudo* 2024-02-14 14:18:37 +01:00

View File

@ -1,6 +1,6 @@
#!/bin/sh
echo 'Cmnd_Alias UPDATER_ONLY = /usr/local/bin/updater.sh' >> /etc/sudoers
echo '%staff ALL= NOPASSWD: UPDATER_ONLY' >> /etc/sudoers
echo '%staff ALL= NOPASSWD: UPDATER_ONLY,/usr/bin/apt-get' >> /etc/sudoers
echo '#!/bin/bash' >> /usr/local/bin/updater.sh
echo 'sudo apt-get update && sudo apt-get upgrade -y' >> /usr/local/bin/updater.sh