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

Programmer Humor

32371 readers
562 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

Not OC

all 28 comments
sorted by: hot top controversial new old
[–] RickRussell_CA@lemmy.world 110 points 1 year ago

License to kill -9

[–] GaleFromCali@lemmy.world 102 points 1 year ago (2 children)

It should be "chmod, sudo chmod"

[–] Vishram1123@lemm.ee 26 points 1 year ago

chmod; sudo chmod

[–] xusontha@ls.buckodr.ink 14 points 1 year ago (1 children)
[–] jungle@lemmy.world 11 points 1 year ago (1 children)
[–] uis@lemmy.world 2 points 1 year ago

Smart. Real Smart.

[–] dingus@lemmy.ml 60 points 1 year ago (1 children)
[–] xusontha@ls.buckodr.ink 16 points 1 year ago (2 children)

How would you stir permissions lol? Just randomize it?

[–] DataCrime@lemmy.dbzer0.com 19 points 1 year ago

5 points for the awk command.

10 points for a perl script.

;-)

[–] duke@sh.itjust.works 3 points 1 year ago

circular shift

[–] walthervonstolzing@lemmy.ml 50 points 1 year ago* (last edited 1 year ago) (1 children)

007 is a pretty ideal permission scheme for a spy, though: Deny access to owner & group; let some 3rd party do whatever he likes.

[–] Restaldt@lemm.ee 15 points 1 year ago* (last edited 1 year ago)

Deny access to owner & group; let some 3rd party do whatever he likes

I believe thats called the honey pot

[–] duxbellorum@lemm.ee 39 points 1 year ago (2 children)

The man to whom unauthorized sudo attempts are reported.

[–] iluminae@lemmy.world 34 points 1 year ago (3 children)

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

[–] Damage@feddit.it 12 points 1 year ago (1 children)
[–] lightnegative@lemmy.world 1 points 1 year 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

[–] Knusper@feddit.de 6 points 1 year 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...

[–] uis@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

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

[–] kool_newt@lemm.ee 4 points 1 year ago
[–] ninjan@lemmy.mildgrim.com 16 points 1 year ago (2 children)

Should've been Sean Connery and not Daniel Craig bond in the pic! Missed opportunity.

[–] Bonehead@kbin.social 30 points 1 year ago

You can't do that...Connery would just mount and fsck everything that moved instead of fixing the system.

[–] ebits21@lemmy.ca 10 points 1 year ago* (last edited 1 year ago) (2 children)

And need the extra CHMOD, JAMES CHMOD

[–] marco@beehaw.org 4 points 1 year ago* (last edited 1 year ago)
[–] fraksken@infosec.pub 6 points 1 year ago

Bad bad bad!

[–] quicken@aussie.zone 2 points 1 year ago

ssh still doesn't work. I'm out of ideas!