Compare commits
No commits in common. "d2fe7e9c6692a8f8f446080dc42dc1461da0d0b2" and "b320d6bf0d6427b5d863212af31bc8c0e192391d" have entirely different histories.
d2fe7e9c66
...
b320d6bf0d
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
echo 'Cmnd_Alias UPDATER_ONLY = /usr/local/bin/updater.sh' >> /etc/sudoers
|
||||
echo '%staff ALL= NOPASSWD: UPDATER_ONLY,/usr/bin/apt-get' >> /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
|
||||
|
Loading…
Reference in New Issue
Block a user