Compare commits
2 Commits
b320d6bf0d
...
d2fe7e9c66
Author | SHA1 | Date | |
---|---|---|---|
|
d2fe7e9c66 | ||
|
dd90a6151d |
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo 'Cmnd_Alias UPDATER_ONLY = /usr/local/bin/updater.sh' >> /etc/sudoers
|
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 '#!/bin/bash' >> /usr/local/bin/updater.sh
|
||||||
echo 'sudo apt-get update && sudo apt-get upgrade -y' >> /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