loading...

Systemd security w/o User directive

github logo ・1 min read

So every systemd service whose unit file has no User directive runs as the root user. Are there any security implications of this? Should I not run untrusted code as a service w/o using User directive or does systemd have some sort of permission sandboxing even though the processes run as root?

twitter logo DISCUSS (1)
markdown guide
 

I guess no security measures are taken by default, as there is a bunch of things you can do to sandbox services the way you want.

Classic DEV Post from Aug 24 '19

To Code, or Not to Code on Vacation: That is My Question

I coded on vacation, and now I feel guilty about it. What tips do you have?

Peter Timoshevsky profile image
I'm a hacker, in the original sense of the word

Tip: You can configure your dev.to reading experience, such as using sans serif fonts.

Go to your the "misc." section of your settings.

Customize dev.to