summaryrefslogtreecommitdiff
path: root/sudoers.d
diff options
context:
space:
mode:
Diffstat (limited to 'sudoers.d')
-rwxr-xr-xsudoers.d/byteback7
1 files changed, 7 insertions, 0 deletions
diff --git a/sudoers.d/byteback b/sudoers.d/byteback
new file mode 100755
index 0000000..5a5a39e
--- /dev/null
+++ b/sudoers.d/byteback
@@ -0,0 +1,7 @@
+# sudoers file for byteback
+#
+byteback ALL = (root) NOPASSWD: /usr/bin/byteback-snapshot
+byteback ALL = (root) NOPASSWD: /sbin/btrfs subvolume create /store/backups/*/current
+byteback ALL = (root) NOPASSWD: /sbin/btrfs subvolume delete /store/backups/*
+
+Defaults:byteback !requiretty