I just install octopi in ubuntu and problem i got after is my user not run sudo without password like in raspbian
I just try to configure sudo to run octopi without password but without success
sudo visudo
user ALL = NOPASSWD: /home/user/OctoPrint/venv/bin/octoprint
Thank you
Is working
only one problem i have with this but I'm not sure is possible
1 user can reboot system without password
2. user can start and stop any service without password
I'm not sure if visudo or sudoers.d can implement something like this but only for specific program like octoprint and for specific user, any others to not be allowed
I will try to dig a little bit more on this
I appreciate if somebody can tell me how is command shell executed by octoprint on reboot or daemon restart for example to be more clear in mind what i want to do