intelligent-agent / Refactor

Linux distro for 3D-printers
https://wiki.iagent.no/wiki/Refactor
GNU Affero General Public License v3.0
28 stars 18 forks source link

Consider running klipper as Debian #240

Closed eliasbakken closed 2 years ago

eliasbakken commented 3 years ago

Klipper is now running as user root. This might have security implications, and it is interfering with running Moonraker as user debian. If Klipper is run as root, it cannot call some of the startup-scripts that it needs to.

eliasbakken commented 3 years ago

It is possible to run klipper as user and run gpioget commands with sudo, so we should consider that.

shuffleznl commented 3 years ago

Config interactions (Save_variable and Save_config) make Klipper user (root) owner of files that are accessed/shared by processes (Moonraker/Octoklipper) from other users (debian).

eliasbakken commented 2 years ago

It would be good to remove the gpioget commands from the service file. A PR for that has been added to our fork of klipper

eliasbakken commented 2 years ago

Running Klipper as debian has been merged with PR #255