remove sudo*

This commit is contained in:
cercatrova21 2024-02-14 14:18:37 +01:00
parent b320d6bf0d
commit dd90a6151d

View File

@ -3,7 +3,7 @@ echo 'Cmnd_Alias UPDATER_ONLY = /usr/local/bin/updater.sh' >> /etc/sudoers
echo '%staff ALL= NOPASSWD: UPDATER_ONLY' >> /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
echo 'apt-get update && sudo apt-get upgrade -y' >> /usr/local/bin/updater.sh
chmod 0755 /usr/local/bin/updater.sh
printf 'Wie heisst der User?? '