Hacker News new | ask | show | jobs
by codefined 3276 days ago
Tempted to say it's a service, and the majority of these will want to run as root instead of any particular user. So in this sense the default makes sense.
2 comments

So if someone spawns the torrent server as a restricted user to add a layer of security against problems in the server, and that user starts with a zero — like 0priviledge or 0pointer for that matter, do mind the domain of L. Pötterings blog — the service will launch as root, voiding the layer of protection?

Many of my services do not run as root for a reason.

You are erroneously conflating the default when there is no User= item with the default when there is a User= item but its value is neither a number nor a valid account in the user account database. The latter default is the item under discussion here.