From 9e62eea64c8f751abef8fbe0c548f20a08f4bc17 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 14 Jan 2024 11:54:28 +0100 Subject: [PATCH] Create sudoer Allow only some commands to run as root --- conf/sudoer | 1 + 1 file changed, 1 insertion(+) create mode 100644 conf/sudoer diff --git a/conf/sudoer b/conf/sudoer new file mode 100644 index 0000000..a537c69 --- /dev/null +++ b/conf/sudoer @@ -0,0 +1 @@ +__APP__ ALL=(root) NOPASSWD: /usr/bin/yunohost backup create *, /usr/bin/yunohost backup restore *, /usr/bin/yunohost backup delete *, /usr/bin/yunohost app list *, /usr/bin/yunohost app remove *, /bin/ls