Every time when i poweron the pc, some proccess are started with the system. Some of them are Anydesk and SQL. I had disable sql from start alongside the system with systemctl disable mysql, so i think that i need to do the same with anydesk. But why these programs make this? Even if i dont start the app/program, they will be there, eating resources from the start... WHY THIS HAPPEN?!?!

Edit: Something i forgot to put: why they have root permissions? this happen no wonder the system i install these programms, they have the same behaviour

you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 2 months ago* (last edited 2 months ago)

Systemd can also create a temporary user, with DynamicUser. But I so very rarely see that being used.

the service would start as root to do privileged operations like opening specific ports

You can also add the CAP_NET_BIND_SERVICE capability to do this without root.

IMO, there's usually no reason to use root in a systemd service, it's just ignorant developers.

  • source
  • parent