summaryrefslogtreecommitdiff
path: root/sudoers.d/byteback
diff options
context:
space:
mode:
authorMatthew Bloch <matthew@bytemark.co.uk>2014-12-04 18:35:36 +0000
committerMatthew Bloch <matthew@bytemark.co.uk>2014-12-04 18:35:36 +0000
commitfcf00ad61a60c9e99a7d45380803f0dbf0b858f5 (patch)
treeb819c65842ce37dbd80108464425e0c0779534c9 /sudoers.d/byteback
parenta7162ddb80be70443d5617cac5d71ce6521e9f42 (diff)
Realised we don't need sudo at all to run our btrfs commands, removed all
references.
Diffstat (limited to 'sudoers.d/byteback')
-rwxr-xr-xsudoers.d/byteback8
1 files changed, 0 insertions, 8 deletions
diff --git a/sudoers.d/byteback b/sudoers.d/byteback
deleted file mode 100755
index 121769c..0000000
--- a/sudoers.d/byteback
+++ /dev/null
@@ -1,8 +0,0 @@
-# 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/*
-byteback ALL = (root) NOPASSWD: /bin/chown byteback /store/backups/*/current
-
-Defaults:byteback !requiretty