17

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@sh.itjust.works 6 points 1 year ago* (last edited 1 year ago)

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@sh.itjust.works 6 points 1 year ago

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@sh.itjust.works 5 points 1 year ago* (last edited 1 year ago)

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

[-] roomey@sh.itjust.works 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

[-] sorrybookbroke@sh.itjust.works 3 points 1 year ago

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

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

shitty sysadmin

561 readers
1 users here now

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

founded 1 year ago
MODERATORS