this post was submitted on 26 Sep 2023
1088 points (98.6% liked)

Programmer Humor

31800 readers
293 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
1088
submitted 11 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Not OC

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 34 points 11 months ago (3 children)

(after) ...ah crap it's actually selinux....

[–] [email protected] 12 points 11 months ago (1 children)
[–] [email protected] 1 points 11 months ago

First thing to do if you need a functioning server

Unless you're a security guy and get off on people not being able to do their jobs due to Access Denied

[–] [email protected] 6 points 11 months ago (1 children)

Recently, I learned of the concept of "Linux capabilities". And yeah, as much as I enjoy reading up on these things, the whole time I was thinking, if something's fucky with these capabilities, I'll never remember to check them...

[–] [email protected] 3 points 11 months ago* (last edited 10 months ago)

Funfact: if you want to run for example HTTP server, you can run it with CAP_NET_BIND_SERVICE and no_new_priv.