diff options
author | Matthew Bloch <matthew@bytemark.co.uk> | 2014-11-06 01:53:33 +0000 |
---|---|---|
committer | Matthew Bloch <matthew@bytemark.co.uk> | 2014-11-06 01:53:33 +0000 |
commit | 25ac1a979ab6c85e00c3bbc0ff47bc6af7870f6d (patch) | |
tree | 73761b1ef8cee5d71e6ea69bfda92a8ea823f5a0 /sudoers.d/byteback | |
parent | 4dbd2b9d016aa573fde514b6f4f97fb7006e50b5 (diff) |
Added /etc/sudoers.d/byteback to debian installation.
Diffstat (limited to 'sudoers.d/byteback')
-rwxr-xr-x | sudoers.d/byteback | 7 |
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 |