From 139a9522baaaced6450e5b3dabb63aa9fef9991d Mon Sep 17 00:00:00 2001 From: pgrondek Date: Wed, 22 Apr 2020 23:15:56 +0200 Subject: [PATCH] Fix octoprint sudoers file --- octoprint/sudoers.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/octoprint/sudoers.conf b/octoprint/sudoers.conf index 95c5caf..6cce29d 100644 --- a/octoprint/sudoers.conf +++ b/octoprint/sudoers.conf @@ -1,3 +1,3 @@ -octoprint ALL= NOPASSWD: /bin/systemctl start octoprint.service -octoprint ALL= NOPASSWD: /bin/systemctl stop octoprint.service -octoprint ALL= NOPASSWD: /bin/systemctl restart octoprint.service \ No newline at end of file +octoprint ALL=(root) NOPASSWD: /bin/systemctl start octoprint.service +octoprint ALL=(root) NOPASSWD: /bin/systemctl stop octoprint.service +octoprint ALL=(root) NOPASSWD: /bin/systemctl restart octoprint.service