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

shitty sysadmin

554 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 4 comments
sorted by: hot top controversial new old
[–] [email protected] 2 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

[–] [email protected] 2 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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

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

[–] [email protected] 1 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