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