From a4e819317bff495b4f6f35fdc0b8dfd69dfd4190 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sat, 26 Mar 2022 12:03:22 +0100 Subject: [PATCH] backup-receiver less sudo --- bundles/backup-server/metadata.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bundles/backup-server/metadata.py b/bundles/backup-server/metadata.py index 2efc24d..a683f09 100644 --- a/bundles/backup-server/metadata.py +++ b/bundles/backup-server/metadata.py @@ -12,7 +12,10 @@ defaults = { }, }, 'sudoers': { - 'backup-receiver': ['ALL'], + 'backup-receiver': { + '/usr/bin/rsync', + '/sbin/zfs', + }, } }