2 Commits 7e42e6c35b ... 8cb7f77a58

Author SHA1 Message Date
  demure 8cb7f77a58 added sudoers files. 3 months ago
  demure 9e2c492867 added sudoers files. 3 months ago

+ 2 - 2
system_wide/etc/sudoers.d/borg_sudoers

@@ -1,3 +1,3 @@
 ## Lets me and my cron script preform backups
-demure ALL=(ALL) NOPASSWD: /usr/local/sbin/borg_wrap.sh -q, /usr/local/sbin/borg_wrap.sh
-
+#demure ALL=(ALL) NOPASSWD: /usr/local/sbin/borg_wrap.sh -q, /usr/local/sbin/borg_wrap.sh
+demure ALL=(ALL) NOPASSWD: /bin/borgmatic "", /bin/borgmatic create, /bin/borgmatic check, /bin/borgmatic list, /bin/borgmatic info, /bin/borgmatic --verbosity 1 --files

system_wide/etc/sudoers.d/tomb → system_wide/etc/sudoers.d/tomb_suders


+ 3 - 0
system_wide/etc/sudoers.d/wireguard_sudoers

@@ -0,0 +1,3 @@
+## Lets me control wireguard
+demure ALL=(ALL) NOPASSWD: /usr/wg show, /usr/wg-quick up wg0, /usr/wg-quick down wg0
+

+ 3 - 0
system_wide/etc/sudoers.d/zzz_sudoers

@@ -0,0 +1,3 @@
+## Lets me control wireguard
+demure ALL=(ALL) NOPASSWD: /bin/zzz
+