this post was submitted on 12 Jun 2023
32 points (100.0% liked)

shitty sysadmin

562 readers
1 users here now

for sysadmins who don't know what they're doing, and don't care.

founded 1 year ago
MODERATORS
 

FYI, if users complain about permissions, try this command so you can get back to browsing Lemmy and tell them to fuck off.

chmod 777 -R /

top 5 comments
sorted by: hot top controversial new old
[–] IOu1 9 points 1 year ago* (last edited 1 year ago) (1 children)

No sir, you're doing it wrong. This is being done without security in mind. That way, just anyone can execute anything.

chmod 666 -R / is the way.

Edit: remember to run as root

[–] gizmonicus 8 points 1 year ago (1 children)

Pish posh. If security is your game, chmod 000 -R / is your game. Don't forget to run iptables -A input -i any -j DROP to stop those ne'er-do-wells on the LAN from fuckin up your server with their filthy, virus infested client machines.

[–] IOu1 6 points 1 year ago* (last edited 1 year ago)

this guy securitys!!! also block port 22 on your firewall so nobody can access SSH.

[–] sorrybookbroke 4 points 1 year ago

Fantastic, they will no longer be sending in tickets from the device.

[–] roomey 4 points 1 year ago

I did this on my own box once.... It was a pain to repair and I probably didn't do it right. It was Gentoo too so... Yep, great fun