1258
Peak security (lemmy.world)
submitted 1 week ago* (last edited 1 week ago) by qaz@lemmy.world to c/programmer_humor@programming.dev

^This^ ^is^ ^a^ ^joke,^ ^I^ ^didn't^ ^really^ ^lock^ ^myself^ ^out^

top 50 comments
sorted by: hot top controversial new old
[-] paulbg@programming.dev 2 points 6 days ago

good reason to take a day out, will tell it to my boss.

[-] napkin2020@sh.itjust.works 144 points 1 week ago

Happened to me once. Had a little Pi at my parent's house and that was a nice excuse to visit them.

[-] anomnom@sh.itjust.works 8 points 1 week ago

Except when you get there and don’t want to talk or do all the meeting and greeting until you know the server still works.

[-] mavu@discuss.tchncs.de 109 points 1 week ago

even worse. I regularly have to get up out of my chair and go down 2 stairs.

Also this took a while to find, but : https://sourceforge.net/p/shorewall/svn/HEAD/tree/branches/4.2/Samples/one-interface/shorewall.conf

ADMINISABSENTMINDED=Yes

Is an actual setting in the config for the (now apparently unmaintained) Shorewall Firewall software/tool for linux.

If I remember correctly, it always checks on firewall rule changes if there is an active connection on port 22, and adds a special rule at the end to maintain that connection.

They don't build them like they used to anymore.

[-] Jankatarch@lemmy.world 10 points 1 week ago* (last edited 1 week ago)

They don't build them like they used to anymore.

Well if we did, the way it works would be by telling a chatbot to enable ssh on port 22 at the end.

[-] null@lemmy.nullspace.lol 78 points 1 week ago

Doing this is a right of passage.

[-] palordrolap@fedia.io 115 points 1 week ago

Believe it or not, "rite" is the, uh, right, word here.

[-] null@lemmy.nullspace.lol 121 points 1 week ago

Messing up the spelling is a wrong of passage.

[-] JackbyDev@programming.dev 10 points 1 week ago

You have a right to pass once you've done this rite of passage.

[-] Resonosity@lemmy.dbzer0.com 5 points 1 week ago

Believe it or not, straight to jail

[-] piefood@feddit.online 70 points 1 week ago

Before you make a change, do this in a screen-session:

sleep 300 && iptables-restore old_fw_rules.bak

[-] eager_eagle@lemmy.world 34 points 1 week ago

permission denied

fuuuu

[-] inconceivable@feddit.org 69 points 1 week ago

Real servers have lights out management and management networks.

[-] qaz@lemmy.world 59 points 1 week ago* (last edited 1 week ago)

I'd rather plug in a screen with VGA than deal with HPE iLO 4

[-] bacon_pdp@lemmy.world 17 points 1 week ago

Serial terminal servers (sometimes called terminal console servers) are a thing for a reason.

[-] mkhopper@lemmy.world 5 points 1 week ago

To be honest, HPE iLO 6 isn't too bad, if you're using the GUI. It's the API that remains really broken in many places.

[-] dbtng@eviltoast.org 5 points 1 week ago

I keep a Windows 2008 w Java 6 VM on ice for administering old Java console shit like that.
The VM is unsafe as hell. Completely virgin unpatched. The only protection is that I don't give it a gateway or dns, and I shut it down when its not in use.
And it works. Old Java shit can still be used.

load more comments (7 replies)
[-] randint@lemmy.frozeninferno.xyz 64 points 1 week ago

Almost the same thing happened to me. I accidentally fucked up the internet connection in my home while in Japan, and I had to video call my mom to have her fix it. It was a pain for both of us, but thankfully it went rather smoothly. Thank you mom!

[-] buttnugget@lemmy.world 6 points 1 week ago

Do you mind explaining the details? I’m trying to learn as much as possible!

load more comments (2 replies)

What's really fun is hearing "oh shit" from the UPS maintenance tech followed by darkness and silence.

[-] bjoern_tantau@swg-empire.de 34 points 1 week ago

Classic.

Love Hetzner. If something like that were to happen to me they can hook up a remote console accessible through their web interface.

[-] A_norny_mousse@feddit.org 27 points 1 week ago

Many hosting providers have a remote console feature.

[-] Evotech@lemmy.world 30 points 1 week ago
[-] supernight52@lemmy.world 15 points 1 week ago

Fuck, that is really good wordplay.

[-] A_norny_mousse@feddit.org 29 points 1 week ago* (last edited 1 week ago)

Don't practically all commercial hosting providers provide remote console access?

This seems a combo of an extremely newb mistake in an extremely unusual scenario - worthy of Gru I guess.

[-] onslaught545@lemmy.zip 44 points 1 week ago

Physical, on premises servers are still a thing.

[-] A_norny_mousse@feddit.org 6 points 1 week ago

Yes, I also used to run an "on premise" server - in my kitchen, not 500km away. I sometimes might need to admin it remotely, but never critical setup work.
And the meme makes it sound like they have to drive there specifically to fix it, like nobody is actually living nearby.

[-] Trainguyrom@reddthat.com 11 points 1 week ago* (last edited 1 week ago)

I mean it's a pretty realistic scenario. I happened to be the unlikely remote hands for the company I work for just a few weeks ago.

Company: an industrial cleaning company with about 1500 AD users and about 8000 employees, historically had 2 corporate offices, currently has three as it's transitioning one corporate office across the country

Server and mistake in question: old admin who's no longer with the company setup the ESXI 6.0 cluster in the server room at the office without documenting the root password to access it. This cluster happens to host the companies critical services including AD so being unable to access the host has been blocking the office migration. Old admin had also not fixed the ESXI backups which have been broken for over 3 years so no backups to restore from. Also the out of band access to the servers was never correctly setup

I happening to be close to this office and having IT experience was poked to go in and with physical access to modify the shadow file and set the root password to be blank. Had I not been available they would have had to fly someone in from the office 2000 miles away or hire a very expensive local contractor to come in after hours to do the same thing

[-] Anivia@feddit.org 7 points 1 week ago

Well, I have my server running in my parents basement, because they have fiber, and I don't.

It's not quite a 500km drive, but still a long enough distance for this scenario to be a major inconvenience.

But since I have wireguard running on their router though this specific scenario is not something that could happen to me

load more comments (5 replies)
load more comments (5 replies)
[-] qaz@lemmy.world 8 points 1 week ago* (last edited 1 week ago)

Yeah, all the ones I've used had remote access

[-] thatradomguy@lemmy.world 25 points 1 week ago

Most secure box is the one that does nothing.

[-] medem@lemmy.wtf 24 points 1 week ago* (last edited 1 week ago)

Since that happens to the best of us, I envision writing a wrapper script around {n,}pfctl that asks for confirmation upon detecting that you're logged in via ssh through a specific port AND detecting that the new rules would block that port.

load more comments (2 replies)
[-] rmuk@feddit.uk 17 points 1 week ago

I'll always be grateful for the firewalls like OpenWRT that will automatically revert any changes if you don't log back in after a few minutes (at least on the web interface). I'm not proud of how many times that's saved me.

[-] clockworkrat@slrpnk.net 14 points 1 week ago

That the slrpnk.net admins in the picture?

[-] qaz@lemmy.world 10 points 1 week ago

They had a hardware failure but close enough

load more comments (3 replies)
[-] dbtng@eviltoast.org 12 points 1 week ago

This is the NetAdmin's problem. And he's got 3 ways to get into the datacenter, so he goddamn well better have an answer that doesn't involve airfare. Worst case, he's gotta use remote hands, but that would be embarrassing, and I'd not let him forget it. Nobody forgives me when I screw up a server cluster, so he gets no latitude when he takes a datacenter offline.

[-] phirdowak@programming.dev 10 points 1 week ago

I try to remember to always open two SSH connections when altering iptables or the ssh config - just in case

[-] cupcakezealot@piefed.blahaj.zone 10 points 1 week ago

this sounds like something chip from sales would do

load more comments (2 replies)
[-] balsoft@lemmy.ml 9 points 1 week ago

This is precisely the problem that deploy-rs solves!

load more comments (8 replies)
[-] observantTrapezium@lemmy.ca 8 points 1 week ago

Does it actually happen to people? All servers I worked with both had a back door (or two), and someone at the data centre (during work hours at least) you could contact in an emergency.

[-] PotatoesFall@discuss.tchncs.de 7 points 1 week ago

I guess some smaller companies might have simpler setups they self-host

[-] tvbusy@lemmy.dbzer0.com 6 points 1 week ago

Most data centers have some kind of service where you can request a KVM to be connected to the server. It's not instant as an actual human has to do so but a lot sooner than another human driving long distance. I guess in this case, it's a mid size company that is big enough to have multiple locations yet small enough to still manage to use on-premise infra instead of data centers.

load more comments (1 replies)

i feel that. Hetzner support has a special place in my heart

[-] vane@lemmy.world 5 points 1 week ago

Rescue mode with networking, mount drive, make changes and reboot.

load more comments
view more: next ›
this post was submitted on 05 Aug 2025
1258 points (100.0% liked)

Programmer Humor

25763 readers
1318 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS