sudoers 1.3 KB

12345678910111213141516171819202122232425
  1. Defaults:__APP__ !requiretty
  2. __APP__ ALL=(root) NOPASSWD: /usr/bin/yunohost backup create *
  3. __APP__ ALL=(root) NOPASSWD: /usr/bin/yunohost backup delete *
  4. __APP__ ALL=(root) NOPASSWD: /usr/bin/yunohost backup restore *
  5. __APP__ ALL=(root) NOPASSWD: /usr/bin/yunohost app list *
  6. __APP__ ALL=(root) NOPASSWD: /usr/bin/yunohost tools version
  7. __APP__ ALL=(root) NOPASSWD: /usr/bin/mysqldump *
  8. __APP__ ALL=(root) NOPASSWD: /usr/bin/mysql *
  9. __APP__ ALL=(postgres) NOPASSWD: /usr/bin/pg_dump *
  10. __APP__ ALL=(postgres) NOPASSWD: /usr/bin/psql *
  11. __APP__ ALL=(postgres) NOPASSWD: /usr/bin/createdb *
  12. __APP__ ALL=(postgres) NOPASSWD: /usr/bin/dropdb *
  13. __APP__ ALL=(root) NOPASSWD: /usr/bin/stat *
  14. __APP__ ALL=(root) NOPASSWD: /usr/bin/find /home/yunohost.backup/archives *
  15. __APP__ ALL=(root) NOPASSWD: /usr/bin/rsync *
  16. __APP__ ALL=(root) NOPASSWD: /usr/bin/tar *
  17. __APP__ ALL=(root) NOPASSWD: /usr/bin/rm -rf /tmp/backupmanager_*
  18. __APP__ ALL=(root) NOPASSWD: /usr/bin/mkdir -p *
  19. __APP__ ALL=(root) NOPASSWD: /usr/bin/chown *
  20. __APP__ ALL=(root) NOPASSWD: /usr/bin/chmod *
  21. __APP__ ALL=(root) NOPASSWD: /usr/sbin/useradd *
  22. __APP__ ALL=(root) NOPASSWD: /usr/bin/systemctl daemon-reload
  23. __APP__ ALL=(root) NOPASSWD: /usr/bin/systemctl enable *
  24. __APP__ ALL=(root) NOPASSWD: /usr/bin/systemctl start *
  25. __APP__ ALL=(root) NOPASSWD: /usr/bin/systemctl restart *