1121
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

Not OC

all 28 comments
sorted by: hot top new old
[-] [email protected] 110 points 2 years ago

License to kill -9

[-] [email protected] 102 points 2 years ago

It should be "chmod, sudo chmod"

[-] [email protected] 26 points 2 years ago

chmod; sudo chmod

[-] [email protected] 14 points 2 years ago
[-] [email protected] 11 points 2 years ago
[-] [email protected] 2 points 2 years ago

Smart. Real Smart.

[-] [email protected] 60 points 2 years ago
[-] [email protected] 16 points 2 years ago

How would you stir permissions lol? Just randomize it?

[-] [email protected] 19 points 2 years ago

5 points for the awk command.

10 points for a perl script.

;-)

[-] [email protected] 3 points 2 years ago

circular shift

[-] [email protected] 50 points 2 years ago* (last edited 2 years ago)

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

[-] [email protected] 15 points 2 years ago* (last edited 2 years ago)

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

I believe thats called the honey pot

[-] [email protected] 39 points 2 years ago

The man to whom unauthorized sudo attempts are reported.

[-] [email protected] 7 points 2 years ago

Oh no I'm screwed

[-] [email protected] 34 points 2 years ago

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

[-] [email protected] 12 points 2 years ago
[-] [email protected] 1 points 2 years 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 2 years ago

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 2 years ago* (last edited 2 years ago)

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

[-] [email protected] 4 points 2 years ago
[-] [email protected] 16 points 2 years ago

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

[-] [email protected] 30 points 2 years ago

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

[-] [email protected] 10 points 2 years ago* (last edited 2 years ago)

And need the extra CHMOD, JAMES CHMOD

[-] [email protected] 4 points 2 years ago* (last edited 2 years ago)
[-] [email protected] 6 points 2 years ago

Bad bad bad!

[-] [email protected] 2 points 2 years ago

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

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

Programmer Humor

36392 readers
87 users here now

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

Rules:

founded 5 years ago
MODERATORS